=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for php80-pdflib-4.1.4 /bin/cp /amd/pkgsrc/CHROOT/P/pkgsrc/print/php-pdflib/../../lang/php/ext.ini /tmp/print/php-pdflib/work/pdflib-4.1.4/pdflib.ini --- pdf.lo --- /bin/sh /tmp/print/php-pdflib/work/pdflib-4.1.4/libtool --mode=compile gcc -I. -I/tmp/print/php-pdflib/work/pdflib-4.1.4 -I/tmp/print/php-pdflib/work/pdflib-4.1.4/include -I/tmp/print/php-pdflib/work/pdflib-4.1.4/main -I/tmp/print/php-pdflib/work/pdflib-4.1.4 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c -o pdf.lo libtool: compile: gcc -I. -I/tmp/print/php-pdflib/work/pdflib-4.1.4 -I/tmp/print/php-pdflib/work/pdflib-4.1.4/include -I/tmp/print/php-pdflib/work/pdflib-4.1.4/main -I/tmp/print/php-pdflib/work/.buildlink/include/php -I/tmp/print/php-pdflib/work/.buildlink/include/php/main -I/tmp/print/php-pdflib/work/.buildlink/include/php/TSRM -I/tmp/print/php-pdflib/work/.buildlink/include/php/Zend -I/tmp/print/php-pdflib/work/.buildlink/include/php/ext -I/tmp/print/php-pdflib/work/.buildlink/include/php/ext/date/lib -I/tmp/print/php-pdflib/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c -fPIC -DPIC -o .libs/pdf.o /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:207:24: error: expected ';', ',' or ')' before 'TSRMLS_DC' const char *errmsg TSRMLS_DC) ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:271:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' static void free_pdf_resource(zend_resource *rsrc TSRMLS_DC) ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:313:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' pdflib_object_dtor(void *object TSRMLS_DC) ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:331:48: error: expected ';', ',' or ')' before 'TSRMLS_DC' pdflib_object_new(zend_class_entry *class_type TSRMLS_DC) ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zm_startup_PDFlib': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:405:31: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:405:9: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:410:48: error: 'free_pdf_resource' undeclared (first use in this function); did you mean 'zend_resource'? le_pdf = zend_register_list_destructors_ex(free_pdf_resource, ^~~~~~~~~~~~~~~~~ zend_resource /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:410:48: note: each undeclared identifier is reported only once for each function it appears in /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:421:44: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? zend_exception_get_default(TSRMLS_C) TSRMLS_CC); ^~~~~~~~ TSRM_H /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:421:17: error: too many arguments to function 'zend_exception_get_default' zend_exception_get_default(TSRMLS_C) TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:29:0: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_exceptions.h:51:28: note: declared here ZEND_API zend_class_entry *zend_exception_get_default(void); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:421:54: error: expected ')' before 'TSRMLS_CC' zend_exception_get_default(TSRMLS_C) TSRMLS_CC); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:428:61: error: expected ')' before 'TSRMLS_CC' sizeof("apiname")-1, "", ZEND_ACC_PROTECTED TSRMLS_CC); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:436:28: error: 'pdflib_object_new' undeclared (first use in this function); did you mean 'pdflib_object'? ce.create_object = pdflib_object_new; ^~~~~~~~~~~~~~~~~ pdflib_object /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:443:57: error: expected ')' before 'TSRMLS_CC' pdflib_class = zend_register_internal_class(&ce TSRMLS_CC); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zim_PDFlibException_get_apiname': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:468:25: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] this_ptr, "apiname", sizeof("apiname")-1, 1, &rv)); ^~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:407:16: note: expected 'zend_object * {aka struct _zend_object *}' but argument is of type 'zval * {aka struct _zval_struct *}' ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:480:1: error: expected ';' before '}' token } ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zim_PDFlibException_get_errmsg': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:488:74: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] message = zval_get_string(zend_read_property(pdflib_exception_class, this_ptr, "message", ^~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:407:16: note: expected 'zend_object * {aka struct _zend_object *}' but argument is of type 'zval * {aka struct _zval_struct *}' ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:501:1: error: expected ';' before '}' token } ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zim_PDFlibException_get_errnum': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:510:55: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types] code = zend_read_property(pdflib_exception_class, this_ptr, "code", ^~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:407:16: note: expected 'zend_object * {aka struct _zend_object *}' but argument is of type 'zval * {aka struct _zval_struct *}' ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_activate_item': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:22:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:24:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:24:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:26:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:36:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:36:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:36:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:38:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:42:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:42:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:44:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:48:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:59:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:144:5: warning: implicit declaration of function '_pdf_exception'; did you mean 'pdf_exit_try'? [-Wimplicit-function-declaration] _pdf_exception(PDF_get_errnum(pdf), PDF_get_apiname(pdf), \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:63:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:63:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_bookmark': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:102:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:104:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:104:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:106:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:118:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:118:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:118:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:120:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:124:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:124:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:126:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:132:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:143:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:144:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_bookmark()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:144:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_bookmark()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:148:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_launchlink': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:178:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:180:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:180:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:182:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:193:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:193:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:193:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:195:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:199:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:199:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:201:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:206:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:217:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:218:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:218:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:222:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_locallink': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:258:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:260:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:260:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:262:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:273:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:273:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:273:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:275:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:279:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:279:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:281:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:286:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:297:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:298:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:298:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:302:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_nameddest': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:334:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:336:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:336:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:338:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:351:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:351:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:351:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:353:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:357:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:357:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:359:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:366:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:377:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:381:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_note': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:429:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:431:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:431:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:433:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:448:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:448:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:448:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:450:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:454:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:454:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:456:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:465:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:476:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:477:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:477:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:481:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_pdflink': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:611:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:613:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:613:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:615:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:627:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:627:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:627:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:629:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:633:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:633:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:635:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:641:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:652:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:653:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:653:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:657:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_table_cell': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:880:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:882:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:882:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:884:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:897:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:897:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:897:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:899:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:903:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:903:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:905:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:912:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:923:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:927:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_textflow': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:966:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:968:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:968:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:970:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:983:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:983:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:983:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:985:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:989:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:989:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:991:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:998:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1009:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1013:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_thumbnail': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1039:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1041:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1041:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1043:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1053:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1053:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1053:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1055:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1059:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1059:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1061:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1065:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1076:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1083:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_add_weblink': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1113:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1115:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1115:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1117:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1128:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1128:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1128:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1130:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1134:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1134:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1136:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1141:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1152:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1153:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1153:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_action() and PDF_create_annotation()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1157:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_arc': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1247:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1249:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1249:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1251:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1261:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1261:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1261:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1263:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1267:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1267:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1269:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1273:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1284:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1288:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_arcn': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1313:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1315:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1315:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1317:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1327:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1327:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1327:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1329:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1333:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1333:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1335:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1339:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1350:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1354:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_attach_file': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1408:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1410:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1410:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1412:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1429:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1429:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1429:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1431:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1435:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1435:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1437:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1448:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1459:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1460:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1460:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1464:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_document': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1497:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1499:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1499:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1501:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1513:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1513:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1513:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1515:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1519:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1519:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1521:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1527:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1538:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1541:42: error: expected ')' before 'TSRMLS_CC' if (php_check_open_basedir(filename TSRMLS_CC)) { ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1548:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_font': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1657:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1659:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1659:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1661:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1673:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1673:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1673:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1675:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1679:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1679:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1681:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1687:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1698:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1702:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_glyph': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1733:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1735:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1735:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1737:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1748:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1748:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1748:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1750:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1754:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1754:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1756:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1761:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1772:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1779:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_item': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1889:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1891:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1891:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1893:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1905:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1905:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1905:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1907:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1911:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1911:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1913:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1919:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1930:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1934:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_layer': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1960:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1962:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1962:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1964:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1974:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1974:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1974:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1976:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1980:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1980:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1982:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1986:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:1997:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2001:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_mc': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2033:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2035:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2035:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2037:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2049:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2049:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2049:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2051:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2055:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2055:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2057:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2063:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2074:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2078:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_page': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2100:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2102:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2102:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2104:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2114:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2114:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2114:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2116:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2120:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2120:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2122:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2126:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2137:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2138:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_page_ext()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2138:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_page_ext()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2142:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_page_ext': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2170:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2172:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2172:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2174:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2185:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2185:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2185:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2187:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2191:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2191:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2193:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2198:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2209:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2213:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_pattern': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2244:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2246:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2246:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2248:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2258:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2258:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2258:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2260:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2264:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2264:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2266:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2270:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2281:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2288:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_template': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2385:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2387:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2387:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2389:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2399:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2399:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2399:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2401:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2405:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2405:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2407:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2411:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2422:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2423:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_template_ext()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2423:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_template_ext()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2427:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_begin_template_ext': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2456:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2458:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2458:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2460:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2471:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2471:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2471:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2473:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2477:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2477:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2479:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2484:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2495:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2499:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_circle': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2522:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2524:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2524:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2526:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2536:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2536:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2536:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2538:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2542:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2542:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2544:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2548:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2559:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2563:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_clip': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2650:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2652:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2652:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2654:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2664:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2664:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2664:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2666:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2670:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2670:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2672:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2676:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2687:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2691:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_close': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2711:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2713:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2713:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2715:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2725:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2725:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2725:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2727:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2731:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2731:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2733:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2737:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2748:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2749:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_document()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2749:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_document()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2753:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_close_image': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2917:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2919:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2919:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2921:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2931:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2931:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2931:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2933:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2937:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2937:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2939:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2943:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2954:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2958:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_close_pdi': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2984:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2986:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2986:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2988:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2998:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2998:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:2998:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3000:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3004:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3004:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3006:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3010:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3021:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3022:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_close_pdi_document()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3022:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_close_pdi_document()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3026:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_close_pdi_document': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3052:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3054:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3054:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3056:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3066:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3066:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3066:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3068:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3072:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3072:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3074:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3078:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3089:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3093:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_close_pdi_page': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3119:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3121:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3121:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3123:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3133:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3133:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3133:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3135:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3139:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3139:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3141:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3145:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3156:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3160:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_closepath': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3180:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3182:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3182:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3184:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3194:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3194:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3194:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3196:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3200:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3200:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3202:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3206:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3217:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3221:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_closepath_fill_stroke': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3241:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3243:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3243:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3245:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3255:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3255:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3255:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3257:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3261:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3261:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3263:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3267:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3278:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3282:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_closepath_stroke': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3302:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3304:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3304:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3306:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3316:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3316:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3316:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3318:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3322:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3322:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3324:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3328:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3339:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3343:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_concat': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3369:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3371:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3371:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3373:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3383:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3383:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3383:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3385:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3389:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3389:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3391:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3395:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3406:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3410:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_continue_text': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3436:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3438:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3438:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3440:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3452:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3452:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3452:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3454:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3458:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3458:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3460:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3466:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3477:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3481:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_create_3dview': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3618:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3620:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3620:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3622:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3634:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3634:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3634:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3636:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3640:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3640:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3642:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3648:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3659:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3663:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_create_action': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3696:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3698:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3698:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3700:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3712:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3712:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3712:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3714:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3718:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3718:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3720:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3726:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3737:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3741:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_create_annotation': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3777:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3779:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3779:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3781:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3793:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3793:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3793:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3795:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3799:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3799:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3801:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3807:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3818:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3822:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_create_bookmark': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3927:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3929:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3929:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3931:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3944:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3944:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3944:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3946:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3950:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3950:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3952:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3959:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3970:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:3974:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_create_field': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4016:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4018:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4018:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4020:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4034:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4034:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4034:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4036:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4040:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4040:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4042:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4050:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4061:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4065:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_create_fieldgroup': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4097:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4099:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4099:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4101:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4114:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4114:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4114:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4116:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4120:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4120:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4122:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4129:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4140:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4144:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_create_gstate': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4171:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4173:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4173:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4175:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4186:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4186:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4186:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4188:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4192:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4192:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4194:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4199:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4210:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4214:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_create_pvf': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4252:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4254:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4254:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4256:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4270:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4270:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4270:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4272:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4276:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4276:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4278:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4286:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4297:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4301:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_create_textflow': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4334:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4336:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4336:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4338:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4351:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4351:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4351:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4353:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4357:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4357:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4359:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4366:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4377:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4381:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_curveto': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4407:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4409:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4409:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4411:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4421:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4421:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4421:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4423:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4427:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4427:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4429:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4433:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4444:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4448:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_define_layer': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4481:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4483:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4483:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4485:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4498:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4498:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4498:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4500:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4504:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4504:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4506:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4513:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4524:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4528:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_delete_pvf': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4624:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4626:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4626:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4628:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4639:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4639:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4639:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4641:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4645:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4645:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4647:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4652:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4663:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4667:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_delete_table': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4699:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4701:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4701:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4703:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4714:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4714:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4714:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4716:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4720:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4720:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4722:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4727:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4738:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4742:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_delete_textflow': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4768:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4770:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4770:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4772:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4782:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4782:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4782:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4784:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4788:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4788:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4790:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4794:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4805:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:4809:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_encoding_set_char': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5074:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5076:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5076:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5078:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5090:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5090:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5090:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5092:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5096:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5096:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5098:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5104:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5115:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5119:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_document': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5145:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5147:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5147:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5149:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5160:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5160:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5160:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5162:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5166:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5166:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5168:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5173:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5184:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5188:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_font': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5279:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5281:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5281:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5283:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5293:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5293:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5293:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5295:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5299:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5299:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5301:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5305:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5316:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5320:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_glyph': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5340:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5342:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5342:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5344:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5354:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5354:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5354:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5356:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5360:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5360:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5362:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5366:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5377:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5381:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_item': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5407:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5409:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5409:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5411:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5421:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5421:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5421:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5423:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5427:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5427:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5429:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5433:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5444:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5448:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_layer': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5468:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5470:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5470:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5472:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5482:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5482:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5482:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5484:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5488:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5488:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5490:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5494:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5505:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5509:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_mc': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5529:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5531:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5531:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5533:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5543:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5543:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5543:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5545:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5549:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5549:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5551:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5555:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5566:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5570:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_page': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5590:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5592:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5592:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5594:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5604:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5604:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5604:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5606:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5610:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5610:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5612:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5616:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5627:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5628:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_page_ext()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5628:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_end_page_ext()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5632:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_page_ext': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5658:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5660:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5660:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5662:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5673:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5673:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5673:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5675:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5679:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5679:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5681:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5686:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5697:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5701:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_pattern': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5721:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5723:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5723:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5725:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5735:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5735:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5735:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5737:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5741:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5741:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5743:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5747:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5758:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5762:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_end_template': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5782:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5784:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5784:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5786:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5796:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5796:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5796:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5798:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5802:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5802:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5804:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5808:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5819:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5826:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_endpath': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5911:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5913:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5913:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5915:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5925:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5925:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5925:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5927:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5931:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5931:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5933:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5937:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5948:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5952:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fill': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5972:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5974:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5974:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5976:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5986:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5986:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5986:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5988:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5992:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5992:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5994:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:5998:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6009:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6013:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fill_imageblock': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6150:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6152:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6152:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6154:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6166:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6166:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6166:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6168:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6172:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6172:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6174:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6180:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6191:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6195:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fill_pdfblock': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6240:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6242:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6242:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6244:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6256:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6256:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6256:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6258:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6262:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6262:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6264:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6270:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6281:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6285:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fill_stroke': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6305:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6307:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6307:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6309:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6319:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6319:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6319:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6321:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6325:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6325:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6327:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6331:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6342:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6346:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fill_textblock': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6391:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6393:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6393:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6395:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6409:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6409:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6409:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6411:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6415:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6415:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6417:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6425:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6436:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6440:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_findfont': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6479:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6481:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6481:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6483:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6495:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6495:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6495:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6497:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6501:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6501:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6503:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6509:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6520:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6521:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_font()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6521:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_font()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6525:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fit_image': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6638:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6640:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6640:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6642:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6653:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6653:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6653:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6655:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6659:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6659:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6661:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6666:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6677:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6681:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fit_pdi_page': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6715:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6717:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6717:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6719:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6730:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6730:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6730:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6732:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6736:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6736:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6738:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6743:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6754:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6758:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fit_table': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6795:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6797:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6797:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6799:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6810:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6810:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6810:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6812:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6816:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6816:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6818:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6823:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6834:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6838:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fit_textflow': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6887:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6889:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6889:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6891:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6902:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6902:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6902:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6904:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6908:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6908:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6910:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6915:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6926:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6930:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_fit_textline': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6976:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6978:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6978:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6980:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6993:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6993:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6993:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6995:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6999:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:6999:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7001:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7008:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7019:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7023:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_get_apiname': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7044:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7046:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7046:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7048:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7058:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7058:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7058:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7060:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7064:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7064:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7066:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7070:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7081:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7085:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_get_buffer': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7119:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7121:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7121:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7123:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7133:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7133:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7133:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7135:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7139:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7139:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7141:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7145:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7156:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7160:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_get_errmsg': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7194:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7196:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7196:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7198:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7208:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7208:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7208:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7210:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7214:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7214:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7216:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7220:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7231:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7235:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_get_errnum': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7268:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7270:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7270:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7272:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7282:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7282:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7282:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7284:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7288:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7288:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7290:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7294:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7305:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7309:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_get_parameter': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7417:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7419:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7419:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7421:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7432:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7432:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7432:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7434:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7438:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7438:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7440:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7445:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7456:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7463:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_get_pdi_value': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7520:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7522:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7522:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7524:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7535:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7535:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7535:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7537:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7541:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7541:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7543:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7548:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7559:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7560:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_pcos_get_number()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7560:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_pcos_get_number()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7564:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_get_value': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7682:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7684:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7684:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7686:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7697:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7697:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7697:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7699:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7703:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7703:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7705:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7710:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7721:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7728:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_info_font': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7767:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7769:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7769:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7771:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7783:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7783:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7783:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7785:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7789:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7789:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7791:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7797:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7808:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:7812:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_info_matchbox': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8023:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8025:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8025:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8027:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8039:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8039:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8039:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8041:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8045:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8045:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8047:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8053:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8064:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8068:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_info_table': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8353:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8355:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8355:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8357:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8368:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8368:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8368:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8370:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8374:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8374:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8376:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8381:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8392:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8396:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_info_textflow': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8429:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8431:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8431:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8433:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8444:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8444:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8444:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8446:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8450:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8450:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8452:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8457:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8468:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8472:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_info_textline': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8511:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8513:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8513:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8515:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8529:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8529:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8529:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8531:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8535:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8535:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8537:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8545:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8556:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8560:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_initgraphics': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8580:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8582:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8582:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8584:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8594:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8594:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8594:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8596:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8600:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8600:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8602:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8606:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8617:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8624:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_lineto': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8646:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8648:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8648:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8650:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8660:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8660:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8660:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8662:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8666:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8666:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8668:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8672:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8683:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8687:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_load_3ddata': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8720:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8722:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8722:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8724:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8736:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8736:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8736:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8738:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8742:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8742:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8744:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8750:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8761:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8765:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_load_font': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8892:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8894:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8894:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8896:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8909:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8909:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8909:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8911:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8915:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8915:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8917:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8924:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8935:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:8939:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_load_iccprofile': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9060:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9062:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9062:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9064:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9076:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9076:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9076:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9078:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9082:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9082:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9084:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9090:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9101:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9105:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_load_image': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9144:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9146:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9146:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9148:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9161:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9161:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9161:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9163:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9167:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9167:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9169:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9176:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9187:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9191:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_makespotcolor': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9218:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9220:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9220:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9222:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9233:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9233:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9233:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9235:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9239:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9239:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9241:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9246:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9257:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9261:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_mc_point': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9293:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9295:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9295:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9297:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9309:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9309:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9309:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9311:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9315:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9315:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9317:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9323:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9334:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9338:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_moveto': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9360:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9362:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9362:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9364:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9374:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9374:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9374:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9376:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9380:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9380:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9382:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9386:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9397:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9401:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_open_ccitt': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9458:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9460:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9460:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9462:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9473:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9473:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9473:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9475:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9479:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9479:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9481:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9486:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9497:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9498:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9498:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9502:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_open_file': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9529:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9531:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9531:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9533:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9544:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9544:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9544:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9546:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9550:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9550:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9552:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9557:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9568:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9569:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_document()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9569:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_begin_document()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9572:42: error: expected ')' before 'TSRMLS_CC' if (php_check_open_basedir(filename TSRMLS_CC)) { ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9579:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_open_image_file': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9624:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9626:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9626:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9628:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9641:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9641:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9641:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9643:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9647:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9647:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9649:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9656:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9667:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9668:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9668:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9672:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_open_pdi_document': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9705:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9707:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9707:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9709:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9721:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9721:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9721:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9723:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9727:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9727:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9729:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9735:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9746:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9750:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_open_pdi_page': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9789:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9791:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9791:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9793:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9804:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9804:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9804:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9806:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9810:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9810:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9812:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9817:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9828:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9832:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_pcos_get_number': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9865:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9867:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9867:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9869:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9880:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9880:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9880:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9882:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9886:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9886:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9888:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9893:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9904:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9908:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_pcos_get_string': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9941:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9943:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9943:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9945:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9956:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9956:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9956:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9958:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9962:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9962:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9964:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9969:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9980:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:9984:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_pcos_get_stream': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10036:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10038:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10038:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10040:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10052:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10052:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10052:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10054:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10058:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10058:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10060:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10066:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10077:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10081:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_place_image': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10123:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10125:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10125:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10127:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10137:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10137:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10137:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10139:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10143:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10143:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10145:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10149:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10160:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10161:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_image()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10161:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_image()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10165:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_place_pdi_page': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10195:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10197:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10197:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10199:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10209:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10209:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10209:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10211:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10215:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10215:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10217:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10221:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10232:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10233:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_pdi_page()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10233:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_pdi_page()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10237:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_process_pdi': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10579:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10581:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10581:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10583:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10594:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10594:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10594:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10596:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10600:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10600:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10602:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10607:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10618:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10622:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_rect': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10646:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10648:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10648:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10650:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10660:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10660:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10660:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10662:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10666:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10666:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10668:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10672:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10683:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10687:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_restore': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10707:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10709:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10709:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10711:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10721:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10721:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10721:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10723:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10727:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10727:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10729:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10733:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10744:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10748:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_resume_page': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10774:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10776:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10776:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10778:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10789:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10789:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10789:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10791:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10795:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10795:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10797:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10802:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10813:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10817:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_rotate': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10838:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10840:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10840:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10842:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10852:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10852:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10852:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10854:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10858:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10858:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10860:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10864:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10875:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10879:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_save': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10899:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10901:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10901:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10903:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10913:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10913:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10913:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10915:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10919:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10919:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10921:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10925:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10936:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10940:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_scale': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10962:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10964:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10964:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10966:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10976:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10976:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10976:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10978:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10982:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10982:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10984:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10988:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:10999:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11003:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_set_border_color': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11026:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11028:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11028:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11030:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11040:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11040:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11040:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11042:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11046:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11046:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11048:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11052:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11063:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11064:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11064:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11068:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_set_border_dash': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11090:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11092:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11092:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11094:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11104:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11104:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11104:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11106:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11110:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11110:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11112:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11116:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11127:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11128:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11128:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11132:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_set_border_style': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11159:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11161:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11161:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11163:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11174:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11174:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11174:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11176:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11180:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11180:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11182:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11187:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11198:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11199:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11199:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_create_annotation()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11203:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_set_gstate': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11300:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11302:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11302:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11304:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11314:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11314:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11314:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11316:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11320:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11320:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11322:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11326:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11337:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11341:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_set_info': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11373:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11375:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11375:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11377:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11390:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11390:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11390:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11392:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11396:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11396:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11398:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11405:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11416:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11420:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_set_layer_dependency': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11452:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11454:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11454:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11456:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11468:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11468:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11468:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11470:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11474:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11474:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11476:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11482:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11493:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11497:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_set_parameter': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11600:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11602:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11602:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11604:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11616:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11616:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11616:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11618:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11622:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11622:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11624:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11630:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11641:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11648:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_set_text_pos': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11741:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11743:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11743:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11745:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11755:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11755:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11755:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11757:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11761:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11761:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11763:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11767:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11778:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11782:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_set_value': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11809:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11811:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11811:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11813:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11824:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11824:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11824:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11826:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11830:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11830:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11832:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11837:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11848:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11855:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setcolor': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11891:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11893:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11893:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11895:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11907:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11907:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11907:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11909:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11913:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11913:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11915:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11921:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11932:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11936:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setdash': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11958:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11960:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11960:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11962:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11972:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11972:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11972:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11974:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11978:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11978:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11980:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11984:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:11995:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12002:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setdashpattern': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12028:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12030:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12030:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12032:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12043:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12043:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12043:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12045:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12049:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12049:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12051:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12056:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12067:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12074:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setflat': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12095:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12097:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12097:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12099:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12109:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12109:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12109:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12111:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12115:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12115:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12117:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12121:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12132:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12139:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setfont': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12166:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12168:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12168:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12170:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12180:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12180:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12180:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12182:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12186:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12186:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12188:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12192:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12203:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12207:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setgray': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12228:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12230:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12230:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12232:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12242:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12242:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12242:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12244:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12248:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12248:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12250:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12254:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12265:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12266:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12266:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12270:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setgray_fill': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12291:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12293:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12293:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12295:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12305:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12305:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12305:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12307:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12311:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12311:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12313:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12317:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12328:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12329:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12329:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12333:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setgray_stroke': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12354:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12356:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12356:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12358:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12368:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12368:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12368:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12370:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12374:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12374:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12376:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12380:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12391:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12392:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12392:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12396:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setlinecap': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12422:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12424:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12424:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12426:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12436:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12436:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12436:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12438:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12442:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12442:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12444:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12448:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12459:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12466:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setlinejoin': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12492:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12494:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12494:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12496:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12506:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12506:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12506:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12508:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12512:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12512:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12514:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12518:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12529:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12536:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setlinewidth': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12557:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12559:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12559:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12561:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12571:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12571:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12571:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12573:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12577:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12577:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12579:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12583:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12594:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12598:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setmatrix': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12624:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12626:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12626:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12628:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12638:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12638:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12638:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12640:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12644:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12644:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12646:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12650:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12661:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12665:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setmiterlimit': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12686:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12688:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12688:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12690:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12700:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12700:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12700:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12702:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12706:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12706:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12708:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12712:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12723:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12730:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setrgbcolor': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12753:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12755:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12755:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12757:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12767:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12767:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12767:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12769:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12773:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12773:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12775:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12779:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12790:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12791:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12791:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12795:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setrgbcolor_fill': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12818:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12820:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12820:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12822:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12832:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12832:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12832:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12834:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12838:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12838:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12840:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12844:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12855:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12856:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12856:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12860:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_setrgbcolor_stroke': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12883:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12885:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12885:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12887:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12897:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12897:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12897:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12899:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12903:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12903:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12905:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12909:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12920:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12921:23: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12921:1: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_setcolor()"); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12925:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_shading': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12966:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12968:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12968:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12970:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12982:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12982:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12982:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12984:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12988:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12988:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12990:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:12996:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13007:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13011:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_shading_pattern': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13044:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13046:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13046:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13048:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13059:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13059:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13059:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13061:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13065:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13065:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13067:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13072:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13083:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13087:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_shfill': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13113:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13115:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13115:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13117:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13127:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13127:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13127:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13129:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13133:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13133:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13135:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13139:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13150:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13154:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_show': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13180:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13182:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13182:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13184:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13196:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13196:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13196:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13198:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13202:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13202:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13204:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13210:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13221:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13225:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_show_xy': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13253:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13255:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13255:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13257:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13269:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13269:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13269:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13271:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13275:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13275:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13277:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13283:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13294:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13298:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_skew': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13320:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13322:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13322:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13324:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13334:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13334:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13334:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13336:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13340:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13340:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13342:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13346:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13357:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13361:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_stringwidth': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13395:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13397:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13397:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13399:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13411:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13411:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13411:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13413:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13417:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13417:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13419:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13425:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13436:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13440:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_stroke': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13460:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13462:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13462:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13464:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13474:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13474:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13474:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13476:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13480:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13480:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13482:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13486:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13497:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13501:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_suspend_page': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13527:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13529:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13529:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13531:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13542:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13542:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13542:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13544:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13548:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13548:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13550:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13555:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13566:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13570:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_translate': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13592:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13594:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13594:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13596:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13606:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13606:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13606:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13608:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13612:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13612:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13614:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13618:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13629:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13633:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_utf16_to_utf8': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13661:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13663:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13663:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13665:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13677:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13677:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13677:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13679:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13683:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13683:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13685:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13691:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13702:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:13709:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c: In function 'zif_pdf_utf32_to_utf16': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14140:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14142:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14142:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14144:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14157:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14157:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14157:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14159:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:530:0: /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14163:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14163:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14165:3: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14172:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14183:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/php_wrapped.c:14190:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zif_pdf_get_pdi_parameter': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:558:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:560:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Slll",&z_key, &doc, &page, &reserved)) { ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:560:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Slll",&z_key, &doc, &page, &reserved)) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:561:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:571:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:571:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:571:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:573:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:577:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zSlll", &p,&z_key, &doc,&page,&reserved)) { ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:577:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zSlll", &p,&z_key, &doc,&page,&reserved)) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:578:17: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:581:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:593:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:595:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_pcos_get_string()."); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:595:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_pcos_get_string()."); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:599:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zif_pdf_open_pdi': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:637:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:639:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:639:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:641:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:653:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:653:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:653:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:655:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:659:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:659:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:661:17: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:664:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:677:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:681:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_open_pdi_document()."); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:681:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_open_pdi_document()."); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:685:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zif_pdf_new': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:719:11: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:722:61: error: expected ')' before 'TSRMLS_CC' "Couldn't create PDFlib object (out of memory)" TSRMLS_CC); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:729:11: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zif_pdf_open_image': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:769:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:771:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:771:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:775:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:791:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:791:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:791:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:793:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:797:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:797:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:801:17: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:804:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:821:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:823:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image() with virtual files."); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:823:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_load_image() with virtual files."); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:828:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zif_pdf_setpolydash': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:841:61: error: expected ')' before 'TSRMLS_CC' "function is no longer supported use PDF_setdashpattern()" TSRMLS_CC); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zif_pdf_show_boxed': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:877:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_THROW, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:879:62: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:879:24: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:881:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:35: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:894:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:178:13: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "No PDFlib object available"); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:894:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:179:13: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:894:9: note: in expansion of macro 'P_FROM_OBJECT' P_FROM_OBJECT(pdf, object); ^~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:154:64: error: expected ')' before 'TSRMLS_CC' zend_replace_error_handling(type, handler, &error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:896:9: note: in expansion of macro 'SET_ERROR_HANDLING' SET_ERROR_HANDLING(EH_NORMAL, pdflib_exception_class); ^~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:900:66: error: expected ')' before 'TSRMLS_CC' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:900:28: error: too few arguments to function 'zend_parse_parameters' if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:35:0, from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26: /tmp/print/php-pdflib/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:902:17: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:168:9: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); \ ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:905:13: note: in expansion of macro 'ZEND_FETCH_RESOURCE' ZEND_FETCH_RESOURCE(pdf, PDF *, p, -1, "pdf object", le_pdf); ^~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:156:49: error: expected ')' before 'TSRMLS_CC' zend_restore_error_handling(&error_handling TSRMLS_CC) ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:919:5: note: in expansion of macro 'RESTORE_ERROR_HANDLING' RESTORE_ERROR_HANDLING(); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:921:27: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_textline() or PDF_fit_textflow()."); ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:921:5: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "Deprecated, use PDF_fit_textline() or PDF_fit_textflow()."); ^~~~~~~~~~~~~~~~ In file included from /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:26:0: /tmp/print/php-pdflib/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:145:29: error: expected ')' before 'TSRMLS_CC' PDF_get_errmsg(pdf) TSRMLS_CC); \ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:925:7: note: in expansion of macro 'pdf_catch' } pdf_catch; ^~~~~~~~~ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zim_PDFlibException_get_errmsg': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:929:1: error: expected declaration or statement at end of input } /* }}} */ ^ /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c: In function 'zim_PDFlibException_get_apiname': /tmp/print/php-pdflib/work/pdflib-4.1.4/pdf.c:929:1: error: expected declaration or statement at end of input *** [pdf.lo] Error code 1 make: stopped in /tmp/print/php-pdflib/work/pdflib-4.1.4 1 error make: stopped in /tmp/print/php-pdflib/work/pdflib-4.1.4 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/print/php-pdflib *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/print/php-pdflib