=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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-imagick-3.4.4nb8 /bin/cp /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/php-imagick/../../lang/php/ext.ini /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick.ini --- imagick_file.lo --- --- imagick_class.lo --- --- imagickdraw_class.lo --- --- imagickpixel_class.lo --- --- imagick_file.lo --- /bin/sh /tmp/graphics/php-imagick/work/imagick-3.4.4/libtool --mode=compile gcc -I. -I/tmp/graphics/php-imagick/work/imagick-3.4.4 -I/tmp/graphics/php-imagick/work/imagick-3.4.4/include -I/tmp/graphics/php-imagick/work/imagick-3.4.4/main -I/tmp/graphics/php-imagick/work/imagick-3.4.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/ImageMagick-7 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /tmp/graphics/php-imagick/work/imagick-3.4--- imagick_class.lo --- /bin/sh /tmp/graphics/php-imagick/work/imagick-3.4.4/libtool --mode=compile gcc -I. -I/tmp/graphics/php-imagick/work/imagick-3.4.4 -I/tmp/graphics/php-imagick/work/imagick-3.4.4/include -I/tmp/graphics/php-imagick/work/imagick-3.4.4/main -I/tmp/graphics/php-imagick/work/imagick-3.4.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/ImageMagick-7 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /tmp/graphics/php-imagick/work/imagick-3.4--- imagick_file.lo --- .4/imagick_file.c -o imagick_file.lo --- imagick_class.lo --- .4/imagick_class.c -o imagick_class.lo --- imagickdraw_class.lo --- /bin/sh /tmp/graphics/php-imagick/work/imagick-3.4.4/libtool --mode=compile gcc -I. -I/tmp/graphics/php-imagick/work/imagick-3.4.4 -I/tmp/graphics/php-imagick/work/imagick-3.4.4/include -I/tmp/graphics/php-imagick/work/imagick-3.4.4/main -I/tmp/graphics/php-imagick/work/imagick-3.4.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/ImageMagick-7 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c -o imagickdraw_class.lo --- imagickpixel_class.lo --- /bin/sh /tmp/graphics/php-imagick/work/imagick-3.4.4/libtool --mode=compile gcc -I. -I/tmp/graphics/php-imagick/work/imagick-3.4.4 -I/tmp/graphics/php-imagick/work/imagick-3.4.4/include -I/tmp/graphics/php-imagick/work/imagick-3.4.4/main -I/tmp/graphics/php-imagick/work/imagick-3.4.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/ImageMagick-7 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c -o imagickpixel_class.lo --- imagick_class.lo --- libtool: compile: gcc -I. -I/tmp/graphics/php-imagick/work/imagick-3.4.4 -I/tmp/graphics/php-imagick/work/imagick-3.4.4/include -I/tmp/graphics/php-imagick/work/imagick-3.4.4/main -I/tmp/graphics/php-imagick/work/.buildlink/include/php -I/tmp/graphics/php-imagick/work/.buildlink/include/php/main -I/tmp/graphics/php-imagick/work/.buildlink/include/php/TSRM -I/tmp/graphics/php-imagick/work/.buildlink/include/php/Zend -I/tmp/graphics/php-imagick/work/.buildlink/include/php/ext -I/tmp/graphics/php-imagick/work/.buildlink/include/php/ext/date/lib -I/tmp/graphics/php-imagick/work/.buildlink/include/ImageMagick-7 -I/tmp/graphics/php-imagick/work/.buildlink/include -I/tmp/graphics/php-imagick/work/.buildlink/include/glib-2.0 -I/tmp/graphics/php-imagick/work/.buildlink/include/gio-unix-2.0 -I/tmp/graphics/php-imagick/work/.buildlink/lib/glib-2.0/include -I/tmp/graphics/php-imagick/work/.x11-buildlink/include -I/tmp/graphics/php-imagick/work/.x11-buildlink/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c -fPIC -DPIC -o .libs/imagick_class.o --- imagickpixel_class.lo --- libtool: compile: gcc -I. -I/tmp/graphics/php-imagick/work/imagick-3.4.4 -I/tmp/graphics/php-imagick/work/imagick-3.4.4/include -I/tmp/graphics/php-imagick/work/imagick-3.4.4/main -I/tmp/graphics/php-imagick/work/.buildlink/include/php -I/tmp/graphics/php-imagick/work/.buildlink/include/php/main -I/tmp/graphics/php-imagick/work/.buildlink/include/php/TSRM -I/tmp/graphics/php-imagick/work/.buildlink/include/php/Zend -I/tmp/graphics/php-imagick/work/.buildlink/include/php/ext -I/tmp/graphics/php-imagick/work/.buildlink/include/php/ext/date/lib -I/tmp/graphics/php-imagick/work/.buildlink/include/ImageMagick-7 -I/tmp/graphics/php-imagick/work/.buildlink/include -I/tmp/graphics/php-imagick/work/.buildlink/include/glib-2.0 -I/tmp/graphics/php-imagick/work/.buildlink/include/gio-unix-2.0 -I/tmp/graphics/php-imagick/work/.buildlink/lib/glib-2.0/include -I/tmp/graphics/php-imagick/work/.x11-buildlink/include -I/tmp/graphics/php-imagick/work/.x11-buildlink/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c -fPIC -DPIC -o .libs/imagickpixel_class.o --- imagick_file.lo --- libtool: compile: gcc -I. -I/tmp/graphics/php-imagick/work/imagick-3.4.4 -I/tmp/graphics/php-imagick/work/imagick-3.4.4/include -I/tmp/graphics/php-imagick/work/imagick-3.4.4/main -I/tmp/graphics/php-imagick/work/.buildlink/include/php -I/tmp/graphics/php-imagick/work/.buildlink/include/php/main -I/tmp/graphics/php-imagick/work/.buildlink/include/php/TSRM -I/tmp/graphics/php-imagick/work/.buildlink/include/php/Zend -I/tmp/graphics/php-imagick/work/.buildlink/include/php/ext -I/tmp/graphics/php-imagick/work/.buildlink/include/php/ext/date/lib -I/tmp/graphics/php-imagick/work/.buildlink/include/ImageMagick-7 -I/tmp/graphics/php-imagick/work/.buildlink/include -I/tmp/graphics/php-imagick/work/.buildlink/include/glib-2.0 -I/tmp/graphics/php-imagick/work/.buildlink/include/gio-unix-2.0 -I/tmp/graphics/php-imagick/work/.buildlink/lib/glib-2.0/include -I/tmp/graphics/php-imagick/work/.x11-buildlink/include -I/tmp/graphics/php-imagick/work/.x11-buildlink/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c -fPIC -DPIC -o .libs/imagick_file.o --- imagickdraw_class.lo --- libtool: compile: gcc -I. -I/tmp/graphics/php-imagick/work/imagick-3.4.4 -I/tmp/graphics/php-imagick/work/imagick-3.4.4/include -I/tmp/graphics/php-imagick/work/imagick-3.4.4/main -I/tmp/graphics/php-imagick/work/.buildlink/include/php -I/tmp/graphics/php-imagick/work/.buildlink/include/php/main -I/tmp/graphics/php-imagick/work/.buildlink/include/php/TSRM -I/tmp/graphics/php-imagick/work/.buildlink/include/php/Zend -I/tmp/graphics/php-imagick/work/.buildlink/include/php/ext -I/tmp/graphics/php-imagick/work/.buildlink/include/php/ext/date/lib -I/tmp/graphics/php-imagick/work/.buildlink/include/ImageMagick-7 -I/tmp/graphics/php-imagick/work/.buildlink/include -I/tmp/graphics/php-imagick/work/.buildlink/include/glib-2.0 -I/tmp/graphics/php-imagick/work/.buildlink/include/gio-unix-2.0 -I/tmp/graphics/php-imagick/work/.buildlink/lib/glib-2.0/include -I/tmp/graphics/php-imagick/work/.x11-buildlink/include -I/tmp/graphics/php-imagick/work/.x11-buildlink/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -c /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c -fPIC -DPIC -o .libs/imagickdraw_class.o --- imagick_class.lo --- In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:24:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:23:1: warning: parameter names (without types) in function declaration void php_imagick_initialize_constants(TSRMLS_D); ^~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:25:59: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_check_font(char *font, int font_len TSRMLS_DC); ^~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:24:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:29:90: error: expected ';', ',' or ')' before 'TSRMLS_DC' PointInfo *php_imagick_zval_to_pointinfo_array(zval *coordinate_array, int *num_elements TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:31:83: error: expected ';', ',' or ')' before 'TSRMLS_DC' double *php_imagick_zval_to_double_array(zval *param_array, im_long *num_elements TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:33:82: error: expected ';', ',' or ')' before 'TSRMLS_DC' im_long *php_imagick_zval_to_long_array(zval *param_array, im_long *num_elements TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:35:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' unsigned char *php_imagick_zval_to_char_array(zval *param_array, im_long *num_elements TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:39:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_cleanup_progress_callback(php_imagick_callback* progress_callback TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:43:52: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_validate_map(const char *map TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:45:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_imagick_rw_result_t php_imagick_file_access_check (const char *filename TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:48:110: error: expected ';', ',' or ')' before 'TSRMLS_DC' PixelWand *php_imagick_zval_to_pixelwand (zval *param, php_imagick_class_type_t caller, zend_bool *allocated TSRMLS_DC); ^~~~~~~~~ --- imagickpixel_class.lo --- In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:24:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:23:1: warning: parameter names (without types) in function declaration void php_imagick_initialize_constants(TSRMLS_D); ^~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:25:59: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_check_font(char *font, int font_len TSRMLS_DC); ^~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:24:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:29:90: error: expected ';', ',' or ')' before 'TSRMLS_DC' PointInfo *php_imagick_zval_to_pointinfo_array(zval *coordinate_array, int *num_elements TSRMLS_DC); ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:49:108: error: expected ';', ',' or ')' before 'TSRMLS_DC' PixelWand *php_imagick_zval_to_opacity (zval *param, php_imagick_class_type_t caller, zend_bool *allocated TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:52:1: warning: parameter names (without types) in function declaration char *php_imagick_set_locale (TSRMLS_D); ^~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:67:82: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_pixel_iterator_new (PixelIterator *pixel_it, zval *return_value TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:72:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:31:83: error: expected ';', ',' or ')' before 'TSRMLS_DC' double *php_imagick_zval_to_double_array(zval *param_array, im_long *num_elements TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:33:82: error: expected ';', ',' or ')' before 'TSRMLS_DC' im_long *php_imagick_zval_to_long_array(zval *param_array, im_long *num_elements TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:35:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' unsigned char *php_imagick_zval_to_char_array(zval *param_array, im_long *num_elements TSRMLS_DC); ^~~~~~~~~ --- imagick_class.lo --- void php_imagick_convert_imagick_exception (MagickWand *magick_wand, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:73:104: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_convert_imagickdraw_exception (DrawingWand *drawing_wand, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:74:117: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_convert_imagickpixeliterator_exception (PixelIterator *pixel_iterator, const char *default_message TSRMLS_DC); ^~~~~~~~~ --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:39:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_cleanup_progress_callback(php_imagick_callback* progress_callback TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:43:52: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_validate_map(const char *map TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:45:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_imagick_rw_result_t php_imagick_file_access_check (const char *filename TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:48:110: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:75:101: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_convert_imagickpixel_exception (PixelWand *pixel_wand, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:80:114: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_rw_fail_to_exception (MagickWand *magick_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:81:128: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_imagickdraw_rw_fail_to_exception (DrawingWand *drawing_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC); --- imagickpixel_class.lo --- PixelWand *php_imagick_zval_to_pixelwand (zval *param, php_imagick_class_type_t caller, zend_bool *allocated TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:49:108: error: expected ';', ',' or ')' before 'TSRMLS_DC' PixelWand *php_imagick_zval_to_opacity (zval *param, php_imagick_class_type_t caller, zend_bool *allocated TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:52:1: warning: parameter names (without types) in function declaration char *php_imagick_set_locale (TSRMLS_D); ^~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:67:82: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_pixel_iterator_new (PixelIterator *pixel_it, zval *return_value TSRMLS_DC); --- imagick_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:86:90: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_throw_exception (php_imagick_class_type_t type, const char *description TSRMLS_DC); ^~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:25:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:61:108: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filename_len TSRMLS_DC); ^~~~~~~~~ --- imagickpixel_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:72:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_convert_imagick_exception (MagickWand *magick_wand, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:73:104: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_convert_imagickdraw_exception (DrawingWand *drawing_wand, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:74:117: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:65:54: error: expected ';', ',' or ')' before 'TSRMLS_DC' int php_imagick_safe_mode_check(const char *filename TSRMLS_DC); ^~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:25:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:68:134: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_imagick_rw_result_t php_imagick_read_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:71:153: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- imagickpixel_class.lo --- void php_imagick_convert_imagickpixeliterator_exception (PixelIterator *pixel_iterator, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:75:101: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_convert_imagickpixel_exception (PixelWand *pixel_wand, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:80:114: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_rw_fail_to_exception (MagickWand *magick_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC); ^~~~~~~~~ --- imagick_class.lo --- php_imagick_rw_result_t php_imagick_write_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type, zend_bool adjoin TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:74:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_stream_handler(php_imagick_object *intern, php_stream *stream, ImagickOperationType type TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_pingimagefile': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:41:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &filename, &filename_len) == FAILURE) { --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:81:128: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_imagickdraw_rw_fail_to_exception (DrawingWand *drawing_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:86:90: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_throw_exception (php_imagick_class_type_t type, const char *description TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_sethsl': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:63:44: error: expected ')' before 'TSRMLS_CC' --- imagick_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:41:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagickpixel_class.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &hue, &saturation, &luminosity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:63:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &hue, &saturation, &luminosity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_getcolorvaluequantum': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:88:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:88:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagick_file.lo --- In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:22:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:61:108: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filename_len TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:65:54: error: expected ';', ',' or ')' before 'TSRMLS_DC' int php_imagick_safe_mode_check(const char *filename TSRMLS_DC); ^~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:22:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:68:134: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_imagick_rw_result_t php_imagick_read_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:71:153: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_imagick_rw_result_t php_imagick_write_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type, zend_bool adjoin TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_file.h:74:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_stream_handler(php_imagick_object *intern, php_stream *stream, ImagickOperationType type TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:81:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_is_url(const char *filename TSRMLS_DC) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:91:108: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filename_len TSRMLS_DC) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:160:133: error: expected ';', ',' or ')' before 'TSRMLS_DC' int php_imagick_read_image_using_imagemagick(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:201:133: error: expected ';', ',' or ')' before 'TSRMLS_DC' int php_imagick_read_image_using_php_streams(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:255:54: error: expected ';', ',' or ')' before 'TSRMLS_DC' int php_imagick_safe_mode_check(const char *filename TSRMLS_DC) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:269:134: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_imagick_rw_result_t php_imagick_read_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type TSRMLS_DC) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:288:153: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_imagick_rw_result_t php_imagick_write_file(php_imagick_object *intern, struct php_imagick_file_t *file, ImagickOperationType type, zend_bool adjoin TSRMLS_DC) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_file.c:313:112: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_stream_handler(php_imagick_object *intern, php_stream *stream, ImagickOperationType type TSRMLS_DC) ^~~~~~~~~ *** [imagick_file.lo] Error code 1 make: stopped in /tmp/graphics/php-imagick/work/imagick-3.4.4 --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:138:4: warning: implicit declaration of function 'php_imagick_throw_exception'; did you mean 'zend_throw_exception'? [-Wimplicit-function-declaration] php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Unknown color type" TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:138:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Unknown color type" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_setcolorvaluequantum': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:162:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld", &color, &color_value) == FAILURE) { --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:52:11: warning: implicit declaration of function 'php_imagick_stream_handler'; did you mean 'php_imagick_set_locale'? [-Wimplicit-function-declaration] result = php_imagick_stream_handler(intern, stream, ImagickPingImageFile TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_set_locale /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:52:75: error: expected ')' before 'TSRMLS_CC' result = php_imagick_stream_handler(intern, stream, ImagickPingImageFile TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:56:4: warning: implicit declaration of function 'php_imagick_convert_imagick_exception'; did you mean 'zim_imagick_getimageregion'? [-Wimplicit-function-declaration] php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to ping image from the filehandle" TSRMLS_CC); --- imagickdraw_class.lo --- In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:24:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:23:1: warning: parameter names (without types) in function declaration void php_imagick_initialize_constants(TSRMLS_D); ^~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:25:59: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_check_font(char *font, int font_len TSRMLS_DC); ^~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:24:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:29:90: error: expected ';', ',' or ')' before 'TSRMLS_DC' PointInfo *php_imagick_zval_to_pointinfo_array(zval *coordinate_array, int *num_elements TSRMLS_DC); ^~~~~~~~~ --- imagickpixel_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:162:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld", &color, &color_value) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:219:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Unknown color type" TSRMLS_CC); --- imagick_class.lo --- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zim_imagick_getimageregion /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:56:106: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to ping image from the filehandle" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_pingimageblob': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:81:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &image_string, &image_string_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:81:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &image_string, &image_string_len) == FAILURE) { --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:31:83: error: expected ';', ',' or ')' before 'TSRMLS_DC' double *php_imagick_zval_to_double_array(zval *param_array, im_long *num_elements TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:33:82: error: expected ';', ',' or ')' before 'TSRMLS_DC' im_long *php_imagick_zval_to_long_array(zval *param_array, im_long *num_elements TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:35:88: error: expected ';', ',' or ')' before 'TSRMLS_DC' unsigned char *php_imagick_zval_to_char_array(zval *param_array, im_long *num_elements TSRMLS_DC); ^~~~~~~~~ --- imagickpixel_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_setindex': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:256:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:256:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: --- imagick_class.lo --- ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:39:84: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_cleanup_progress_callback(php_imagick_callback* progress_callback TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:43:52: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool php_imagick_validate_map(const char *map TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:45:77: error: expected ';', ',' or ')' before 'TSRMLS_DC' php_imagick_rw_result_t php_imagick_file_access_check (const char *filename TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:48:110: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel___construct': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:283:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &color_name, &color_name_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:283:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &color_name, &color_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, --- imagickdraw_class.lo --- PixelWand *php_imagick_zval_to_pixelwand (zval *param, php_imagick_class_type_t caller, zend_bool *allocated TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:49:108: error: expected ';', ',' or ')' before 'TSRMLS_DC' PixelWand *php_imagick_zval_to_opacity (zval *param, php_imagick_class_type_t caller, zend_bool *allocated TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:52:1: warning: parameter names (without types) in function declaration char *php_imagick_set_locale (TSRMLS_D); ^~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:67:82: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_pixel_iterator_new (PixelIterator *pixel_it, zval *return_value TSRMLS_DC); --- imagickpixel_class.lo --- from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:296:93: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Failed to allocate PixelWand structure" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:303:88: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Unable to construct ImagickPixel" TSRMLS_CC); --- imagickdraw_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:72:98: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_convert_imagick_exception (MagickWand *magick_wand, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:73:104: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_convert_imagickdraw_exception (DrawingWand *drawing_wand, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:74:117: error: expected ';', ',' or ')' before 'TSRMLS_DC' --- imagickpixel_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_setcolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:322:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &color_name, &color_name_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:322:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &color_name, &color_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: --- imagickdraw_class.lo --- void php_imagick_convert_imagickpixeliterator_exception (PixelIterator *pixel_iterator, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:75:101: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_convert_imagickpixel_exception (PixelWand *pixel_wand, const char *default_message TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:80:114: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_rw_fail_to_exception (MagickWand *magick_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC); ^~~~~~~~~ --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:334:3: warning: implicit declaration of function 'php_imagick_convert_imagickpixel_exception'; did you mean 'zim_imagick_getimagepixelcolor'? [-Wimplicit-function-declaration] php_imagick_convert_imagickpixel_exception (internp->pixel_wand, "Unable to set ImagickPixel color" TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zim_imagick_getimagepixelcolor /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:334:103: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickpixel_exception (internp->pixel_wand, "Unable to set ImagickPixel color" TSRMLS_CC); ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:81:128: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_imagickdraw_rw_fail_to_exception (DrawingWand *drawing_wand, php_imagick_rw_result_t rc, const char *filename TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_helpers.h:86:90: error: expected ';', ',' or ')' before 'TSRMLS_DC' void php_imagick_throw_exception (php_imagick_class_type_t type, const char *description TSRMLS_DC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_settextkerning': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:70:44: error: expected ')' before 'TSRMLS_CC' --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 's_is_pixelwand_similar': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:377:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zd", ¶m, &fuzz) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:377:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zd", ¶m, &fuzz) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here --- imagickdraw_class.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &kerning) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:70:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &kerning) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_settextinterwordspacing': --- imagickpixel_class.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:386:15: warning: implicit declaration of function 'php_imagick_zval_to_pixelwand'; did you mean 'php_imagick_replace_pixelwand'? [-Wimplicit-function-declaration] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICKPIXEL_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_replace_pixelwand /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:386:84: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICKPIXEL_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:386:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:104:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &spacing) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:104:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &spacing) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagickpixel_class.lo --- color_wand = php_imagick_zval_to_pixelwand (param, IMAGICKPIXEL_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_getcolorvalue': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:437:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:437:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_settextinterlinespacing': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:140:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &spacing) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:140:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &spacing) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:447:73: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Unknown color type" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:500:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Unknown color type" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_setcolorvalue': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:519:44: error: expected ')' before 'TSRMLS_CC' --- imagickdraw_class.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_circle': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:175:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &ox, &oy, &px, &py) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:175:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &ox, &oy, &px, &py) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, --- imagickpixel_class.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld", &color, &color_value) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:519:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld", &color, &color_value) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagickdraw_class.lo --- from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_rectangle': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:195:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x2, &y2) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:195:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x2, &y2) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:529:73: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Unknown color type" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:582:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Unknown color type" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_getcolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:605:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &normalization) == FAILURE) { ^~~~~~~~~ --- imagickdraw_class.lo --- In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_roundrectangle': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:215:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &rx, &ry) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:215:6: error: too few arguments to function 'zend_parse_parameters' --- imagickpixel_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:605:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &normalization) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_clone': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:751:73: error: expected ')' before 'TSRMLS_CC' --- imagickdraw_class.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &rx, &ry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_ellipse': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:235:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &ox, &oy, &rx, &ry, &start, &end) == FAILURE) { ^~~~~~~~~ --- imagickpixel_class.lo --- php_imagick_throw_exception (IMAGICKPIXEL_CLASS, "Failed to allocate" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_setcolorcount': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:792:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color_count) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:792:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &color_count) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:235:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &ox, &oy, &rx, &ry, &start, &end) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_skewx': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:255:44: error: expected ')' before 'TSRMLS_CC' --- imagickpixel_class.lo --- from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c: In function 'zim_imagickpixel_setcolorfrompixel': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:815:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagickpixel_sc_entry) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:815:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagickpixel_sc_entry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:86:3: warning: implicit declaration of function 'php_imagick_throw_exception'; did you mean 'zend_throw_exception'? [-Wimplicit-function-declaration] php_imagick_throw_exception(IMAGICK_CLASS, "Empty image string passed" TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:86:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Empty image string passed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:95:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to ping image blob" TSRMLS_CC); ^~~~~~~~~ --- imagickdraw_class.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:255:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_skewy': --- imagickpixel_class.lo --- In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickpixel_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_vignetteimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:114:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddll", &black_point, &white_point, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:114:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddll", &black_point, &white_point, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:275:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:275:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:126:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to apply vignette filter" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_transposeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:154:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to transpose image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_transverseimage': --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_translate': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:295:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:295:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:182:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to transverse image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_adaptiveblurimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:201:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:201:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- imagickdraw_class.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfillcolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:316:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:316:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: --- imagick_class.lo --- In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:213:94: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to adaptive blur image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_uniqueimagecolors': --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:322:15: warning: implicit declaration of function 'php_imagick_zval_to_pixelwand'; did you mean 'php_imagick_replace_pixelwand'? [-Wimplicit-function-declaration] color_wand = php_imagick_zval_to_pixelwand(param, IMAGICKDRAW_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_replace_pixelwand /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:322:82: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand(param, IMAGICKDRAW_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:241:98: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get unique image colors" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_contraststretchimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:259:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &black_point, &white_point, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:259:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &black_point, &white_point, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:322:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand(param, IMAGICKDRAW_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setresolution': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:345:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:345:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, --- imagick_class.lo --- In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:271:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to contrast strech image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagematte': --- imagickdraw_class.lo --- from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:321:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &matte) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:321:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &matte) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:333:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image matte" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_adaptiveresizeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:355:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|bb", &width, &height, &bestfit, &legacy) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:355:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|bb", &width, &height, &bestfit, &legacy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:364:71: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid image geometry" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:371:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to adaptive resize image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_sketchimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:388:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &radius, &sigma, &angle) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:388:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &radius, &sigma, &angle) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:400:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to sketch image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_shadeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:418:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bdd", &gray, &azimuth, &elevation) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:418:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bdd", &gray, &azimuth, &elevation) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:430:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to shade image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getsizeoffset': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:455:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get size offset" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setsizeoffset': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:473:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &columns, &rows, &offset) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:473:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &columns, &rows, &offset) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:482:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set size offset" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_adaptivesharpenimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:499:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:499:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:510:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to adaptive sharpen image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_randomthresholdimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:529:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &low, &high, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:529:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &low, &high, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:541:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to random threshold image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setiteratorindex': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:716:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:716:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:725:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set iterator index" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagealpha': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:818:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &alpha) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:818:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &alpha) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:830:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image alpha" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_polaroidimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:886:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Od", &objvar, php_imagickdraw_sc_entry, &angle) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:886:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Od", &objvar, php_imagickdraw_sc_entry, &angle) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:910:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to polaroid image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageproperty': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:927:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:927:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageproperty': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:956:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &value, &value_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:956:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:968:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image property" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_deleteimageproperty': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:988:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:988:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_identifyformat': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1022:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &embedText, &embedText_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1022:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &embedText, &embedText_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageinterpolatemethod': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1093:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &interpolate) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1093:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &interpolate) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- imagickpixel_class.lo --- *** [imagickpixel_class.lo] Error code 1 make: stopped in /tmp/graphics/php-imagick/work/imagick-3.4.4 --- imagick_class.lo --- In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1105:107: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set the image interpolate method" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_linearstretchimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1123:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &blackPoint, &whitePoint) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1123:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &blackPoint, &whitePoint) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1135:94: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to linear strech image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagelength': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1162:79: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Unable to acquire image length" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_extentimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1180:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1180:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1192:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to extent image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageorientation': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1231:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &orientation) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1231:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &orientation) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1243:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image orientation" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_clutimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1325:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|l", &objvar, php_imagick_sc_entry, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1325:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|l", &objvar, php_imagick_sc_entry, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1341:128: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to replace colors in the image from a color lookup table" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageproperties': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1362:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &pattern, &pattern_len, &values) == FAILURE) { ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:356:3: warning: implicit declaration of function 'php_imagick_throw_exception'; did you mean 'zend_throw_exception'? [-Wimplicit-function-declaration] php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Failed to allocate memory" TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ zend_throw_exception /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:356:78: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Failed to allocate memory" TSRMLS_CC); ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1362:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &pattern, &pattern_len, &values) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1373:79: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Unable to get image properties" TSRMLS_CC); --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:371:97: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Failed to allocate new DrawingWand structure" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokecolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:390:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:390:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, --- imagick_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageprofiles': --- imagickdraw_class.lo --- from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:396:83: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICKDRAW_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:396:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICKDRAW_CLASS, &allocated TSRMLS_CC); ^ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1412:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &pattern, &pattern_len, &values) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1412:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|sb", &pattern, &pattern_len, &values) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfillalpha': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:418:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:418:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here --- imagick_class.lo --- ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1423:77: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Unable to get image profiles" TSRMLS_CC); ^~~~~~~~~ --- imagickdraw_class.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_settextantialias': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:441:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &antialias) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:441:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &antialias) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_settextencoding': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:464:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &encoding, &encoding_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:464:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &encoding, &encoding_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokealpha': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:485:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:485:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokewidth': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:508:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &width) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:508:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &width) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfont': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:531:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &font, &font_len) == FAILURE) { ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_distortimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1468:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lab", &distort_method, &arg_array, &bestfit) == FAILURE) { ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:531:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &font, &font_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:537:76: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKDRAW_CLASS, "Can not set empty font" TSRMLS_CC); --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1468:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lab", &distort_method, &arg_array, &bestfit) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagickdraw_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:544:7: warning: implicit declaration of function 'php_imagick_check_font'; did you mean 'zim_imagick_getfont'? [-Wimplicit-function-declaration] if (!php_imagick_check_font(font, font_len TSRMLS_CC)) { ^~~~~~~~~~~~~~~~~~~~~~ zim_imagick_getfont /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:544:45: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_check_font(font, font_len TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:546:46: error: expected ')' before 'TSRMLS_CC' if ((absolute = expand_filepath(font, NULL TSRMLS_CC)) == NULL) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:547:101: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKDRAW_CLASS, "Unable to set font, file path expansion failed" TSRMLS_CC); ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1476:14: warning: implicit declaration of function 'php_imagick_zval_to_double_array'; did you mean 'php_imagick_set_locale'? [-Wimplicit-function-declaration] arguments = php_imagick_zval_to_double_array(arg_array, &elements TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_set_locale /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1476:68: error: expected ')' before 'TSRMLS_CC' arguments = php_imagick_zval_to_double_array(arg_array, &elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1476:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] arguments = php_imagick_zval_to_double_array(arg_array, &elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1479:75: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICK_CLASS, "Can't read argument array" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1488:92: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to distort the image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_writeimagefile': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1510:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &format, &format_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1510:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &format, &format_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1532:76: error: expected ')' before 'TSRMLS_CC' result = php_imagick_stream_handler(intern, stream, ImagickWriteImageFile TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1543:105: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to write image to the filehandle" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_writeimagesfile': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1565:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &format, &format_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1565:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &format, &format_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1587:77: error: expected ')' before 'TSRMLS_CC' result = php_imagick_stream_handler(intern, stream, ImagickWriteImagesFile TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1597:106: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to write images to the filehandle" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_resetimagepage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1616:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &page, &page_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1616:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &page, &page_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1627:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to reset image page" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_animateimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1715:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1715:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1728:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to animate images" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setfont': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1799:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &font, &font_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1799:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &font, &font_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1805:71: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Can not set empty font" TSRMLS_CC); ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:552:13: warning: implicit declaration of function 'php_imagick_file_access_check'; did you mean 'php_imagick_fetch_object'? [-Wimplicit-function-declaration] if ((rc = php_imagick_file_access_check (absolute TSRMLS_CC)) != IMAGICK_RW_OK) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_fetch_object /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:552:53: error: expected ')' before 'TSRMLS_CC' if ((rc = php_imagick_file_access_check (absolute TSRMLS_CC)) != IMAGICK_RW_OK) { ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1812:7: warning: implicit declaration of function 'php_imagick_check_font'; did you mean 'zim_imagick_getfont'? [-Wimplicit-function-declaration] if (!php_imagick_check_font(font, font_len TSRMLS_CC)) { ^~~~~~~~~~~~~~~~~~~~~~ zim_imagick_getfont /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1812:45: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_check_font(font, font_len TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1814:47: error: expected ')' before 'TSRMLS_CC' if (!(absolute = expand_filepath(font, NULL TSRMLS_CC))) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1815:68: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Unable to set font" TSRMLS_CC); ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:554:4: warning: implicit declaration of function 'php_imagick_imagickdraw_rw_fail_to_exception'; did you mean 'zim_imagickdraw_setfontresolution'? [-Wimplicit-function-declaration] php_imagick_imagickdraw_rw_fail_to_exception (internd->drawing_wand, rc, absolute TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zim_imagickdraw_setfontresolution /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:554:86: error: expected ')' before 'TSRMLS_CC' php_imagick_imagickdraw_rw_fail_to_exception (internd->drawing_wand, rc, absolute TSRMLS_CC); ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1819:13: warning: implicit declaration of function 'php_imagick_file_access_check'; did you mean 'php_imagick_file_deinit'? [-Wimplicit-function-declaration] if ((rc = php_imagick_file_access_check (absolute TSRMLS_CC)) != IMAGICK_RW_OK) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_file_deinit /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1819:53: error: expected ')' before 'TSRMLS_CC' if ((rc = php_imagick_file_access_check (absolute TSRMLS_CC)) != IMAGICK_RW_OK) { ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:566:3: warning: implicit declaration of function 'php_imagick_convert_imagickdraw_exception'; did you mean 'zim_imagick_setimagechanneldepth'? [-Wimplicit-function-declaration] php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to set font" TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zim_imagick_setimagechanneldepth /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:566:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to set font" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfontfamily': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:585:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &font_family, &font_family_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:585:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &font_family, &font_family_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:591:82: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Can not set empty font family" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:595:59: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_check_font(font_family, font_family_len TSRMLS_CC )) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:596:131: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Unable to set font family; parameter not found in the list of configured fonts" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:604:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to set font family" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfontsize': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:621:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &font_size) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:621:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &font_size) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfontstyle': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:641:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &style_id) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:641:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &style_id) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfontweight': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:661:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &weight) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:661:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &weight) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:670:86: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Font weight valid range is 100-900" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfontstretch': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:696:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &stretch) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:696:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &stretch) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokeantialias': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:716:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &antialias) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:716:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &antialias) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_settextalignment': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:737:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &align) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:737:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &align) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_settextdecoration': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:758:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &decoration) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:758:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &decoration) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_settextundercolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:779:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:779:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:785:83: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICKDRAW_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:785:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICKDRAW_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setviewbox': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:806:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &x1, &y1, &x2, &y2) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:806:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &x1, &y1, &x2, &y2) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_annotation': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1003:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dds", &x, &y, &text, &text_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1003:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dds", &x, &y, &text, &text_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_arc': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1032:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &sx, &sy, &ex, &ey, &sd, &ed) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1032:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &sx, &sy, &ex, &ey, &sd, &ed) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_alpha': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1084:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &x, &y, &paint_method) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1084:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &x, &y, &paint_method) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_polygon': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1109:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1109:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1820:4: warning: implicit declaration of function 'php_imagick_rw_fail_to_exception'; did you mean 'php_imagick_file_deinit'? [-Wimplicit-function-declaration] php_imagick_rw_fail_to_exception (intern->magick_wand, rc, absolute TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_file_deinit /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1820:72: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, absolute TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1832:83: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set font" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setpointsize': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1866:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &point_size) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1866:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &point_size) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1875:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set point size" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_mergeimagelayers': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1901:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &layer_method) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1901:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &layer_method) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1917:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to merge image layers" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_floodfillpaintimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1944:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdzllb|l", ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1944:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdzllb|l", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1953:14: warning: implicit declaration of function 'php_imagick_zval_to_pixelwand'; did you mean 'php_imagick_replace_pixelwand'? [-Wimplicit-function-declaration] fill_wand = php_imagick_zval_to_pixelwand (fill_param, IMAGICK_CLASS, &fill_allocated TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_replace_pixelwand /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1953:88: error: expected ')' before 'TSRMLS_CC' fill_wand = php_imagick_zval_to_pixelwand (fill_param, IMAGICK_CLASS, &fill_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1953:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fill_wand = php_imagick_zval_to_pixelwand (fill_param, IMAGICK_CLASS, &fill_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1957:94: error: expected ')' before 'TSRMLS_CC' border_wand = php_imagick_zval_to_pixelwand (border_param, IMAGICK_CLASS, &border_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1957:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] border_wand = php_imagick_zval_to_pixelwand (border_param, IMAGICK_CLASS, &border_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:1978:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception (intern->magick_wand, "Unable to floodfill paint image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_opaquepaintimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2000:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzdb|l", &fill_param, &target_param, &fuzz, &invert, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2000:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zzdb|l", &fill_param, &target_param, &fuzz, &invert, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2008:88: error: expected ')' before 'TSRMLS_CC' fill_wand = php_imagick_zval_to_pixelwand (fill_param, IMAGICK_CLASS, &fill_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2008:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fill_wand = php_imagick_zval_to_pixelwand (fill_param, IMAGICK_CLASS, &fill_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2012:94: error: expected ')' before 'TSRMLS_CC' target_wand = php_imagick_zval_to_pixelwand (target_param, IMAGICK_CLASS, &target_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2012:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] target_wand = php_imagick_zval_to_pixelwand (target_param, IMAGICK_CLASS, &target_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2028:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to opaque paint image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_transparentpaintimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2049:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zddb", &target_param, &alpha, &fuzz, &invert) == FAILURE) { ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1113:16: warning: implicit declaration of function 'php_imagick_zval_to_pointinfo_array' [-Wimplicit-function-declaration] coordinates = php_imagick_zval_to_pointinfo_array(coordinate_array, &num_elements TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1113:84: error: expected ')' before 'TSRMLS_CC' coordinates = php_imagick_zval_to_pointinfo_array(coordinate_array, &num_elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1113:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] coordinates = php_imagick_zval_to_pointinfo_array(coordinate_array, &num_elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1116:84: error: expected ')' before 'TSRMLS_CC' --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2049:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zddb", &target_param, &alpha, &fuzz, &invert) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2057:94: error: expected ')' before 'TSRMLS_CC' target_wand = php_imagick_zval_to_pixelwand (target_param, IMAGICK_CLASS, &target_allocated TSRMLS_CC); --- imagickdraw_class.lo --- php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Unable to read coordinate array" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_bezier': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1140:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1140:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, --- imagick_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2057:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] target_wand = php_imagick_zval_to_pixelwand (target_param, IMAGICK_CLASS, &target_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2067:98: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to paint transparent image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagealphachannel': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2084:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &alpha_channel) == FAILURE) { --- imagickdraw_class.lo --- from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1144:84: error: expected ')' before 'TSRMLS_CC' coordinates = php_imagick_zval_to_pointinfo_array(coordinate_array, &num_elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1144:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] coordinates = php_imagick_zval_to_pointinfo_array(coordinate_array, &num_elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1147:84: error: expected ')' before 'TSRMLS_CC' --- imagick_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2084:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &alpha_channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2095:98: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image alpha channel" TSRMLS_CC); --- imagickdraw_class.lo --- php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Unable to read coordinate array" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_point': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1168:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1168:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, --- imagick_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_liquidrescaleimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2113:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lldd", &cols, &rows, &delta_x, &rigidity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2113:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lldd", &cols, &rows, &delta_x, &rigidity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, --- imagickdraw_class.lo --- from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_line': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1188:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &sx, &sy, &ex, &ey) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1188:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &sx, &sy, &ex, &ey) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2124:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to liquid rescale image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_decipherimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2142:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~ --- imagickdraw_class.lo --- In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_clone': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1217:90: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICK_CLASS, "Failed to allocate DrawingWand structure" TSRMLS_CC); ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2142:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2153:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to decipher image" TSRMLS_CC); --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_affine': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1250:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &affine_matrix) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1250:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &affine_matrix) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here --- imagick_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_encipherimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2170:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2170:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &passphrase, &passphrase_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: --- imagickdraw_class.lo --- ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1265:111: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICKDRAW_CLASS, "AffineMatrix must contain keys: sx, rx, ry, sy, tx and ty" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_composite': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1322:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lddddO", &compose, &x, &y, &width, &height, &magick_obj, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2181:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to encipher image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setgravity': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2198:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &gravity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2198:6: error: too few arguments to function 'zend_parse_parameters' --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1322:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lddddO", &compose, &x, &y, &width, &height, &magick_obj, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1335:96: error: expected ')' before 'TSRMLS_CC' --- imagick_class.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &gravity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2205:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set gravity" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagechannelrange': --- imagickdraw_class.lo --- php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Compositing image failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_color': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1353:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &x, &y, &paint_method) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1353:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &x, &y, &paint_method) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2239:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2239:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagickdraw_class.lo --- from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_comment': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1374:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1374:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2246:92: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get channel range" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagechanneldistortions': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2292:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol|l", &reference_param, php_imagick_sc_entry, &metric, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2292:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol|l", &reference_param, php_imagick_sc_entry, &metric, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ --- imagickdraw_class.lo --- In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokedasharray': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1619:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", ¶m_array) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1619:6: error: too few arguments to function 'zend_parse_parameters' --- imagick_class.lo --- In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2307:111: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image channel distortion metrics" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagegravity': --- imagickdraw_class.lo --- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", ¶m_array) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2345:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &gravity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2345:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &gravity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2356:92: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image gravity" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_importimagepixels': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2385:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llllsla", &x, &y, &width, &height, &map, &map_len, &storage, &pixels) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2385:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llllsla", &x, &y, &width, &height, &map, &map_len, &storage, &pixels) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2394:86: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICK_CLASS, "The coordinates must be non-negative" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2399:95: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The width and height must be greater than zero" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2406:94: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The map contains incorrect number of elements" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2409:8: warning: implicit declaration of function 'php_imagick_validate_map'; did you mean 'zim_imagick_evaluateimage'? [-Wimplicit-function-declaration] if (!php_imagick_validate_map(map TSRMLS_CC)) { ^~~~~~~~~~~~~~~~~~~~~~~~ zim_imagick_evaluateimage /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2409:37: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_validate_map(map TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2410:88: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The map contains disallowed characters" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2420:74: error: expected ')' before 'TSRMLS_CC' double_array = php_imagick_zval_to_double_array(pixels, &num_elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2420:17: warning: assignment makes pointer from integer without a cast [-Wint-conversion] double_array = php_imagick_zval_to_double_array(pixels, &num_elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2422:91: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The map must contain only numeric values" TSRMLS_CC); ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1623:17: warning: implicit declaration of function 'php_imagick_zval_to_double_array'; did you mean 'php_imagick_set_locale'? [-Wimplicit-function-declaration] double_array = php_imagick_zval_to_double_array(param_array, &elements TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_set_locale /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1623:73: error: expected ')' before 'TSRMLS_CC' double_array = php_imagick_zval_to_double_array(param_array, &elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1623:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] double_array = php_imagick_zval_to_double_array(param_array, &elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1626:92: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Cannot read stroke dash array parameter" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_gettextundercolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1834:95: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Failed to allocate space for new PixelWand" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathcurvetoabsolute': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1874:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1874:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathcurvetorelative': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1894:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1894:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &x1, &y1, &x2, &y2, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathcurvetoquadraticbezierabsolute': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1914:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1914:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathcurvetoquadraticbezierrelative': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1934:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1934:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathcurvetoquadraticbeziersmoothabsolute': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1954:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1954:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathcurvetoquadraticbeziersmoothrelative': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1974:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1974:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathcurvetosmoothabsolute': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1994:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:1994:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathcurvetosmoothrelative': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2014:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2014:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &x1, &y1, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathellipticarcabsolute': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2035:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddbbdd", &rx, &ry, &x_axis_rotation, &large_arc, &sweep, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2035:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddbbdd", &rx, &ry, &x_axis_rotation, &large_arc, &sweep, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathellipticarcrelative': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2056:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddbbdd", &rx, &ry, &x_axis_rotation, &large_arc, &sweep, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2056:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddbbdd", &rx, &ry, &x_axis_rotation, &large_arc, &sweep, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathlinetoabsolute': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2093:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2093:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathlinetorelative': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2113:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2113:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathlinetohorizontalabsolute': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2133:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2133:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathlinetohorizontalrelative': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2153:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2153:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathlinetoverticalabsolute': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2173:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2173:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathlinetoverticalrelative': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2193:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2193:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathmovetoabsolute': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2213:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2213:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pathmovetorelative': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2233:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2233:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_polyline': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2272:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2272:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &coordinate_array) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2276:84: error: expected ')' before 'TSRMLS_CC' coordinates = php_imagick_zval_to_pointinfo_array(coordinate_array, &num_elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2276:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] coordinates = php_imagick_zval_to_pointinfo_array(coordinate_array, &num_elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2279:84: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICKDRAW_CLASS, "Unable to read coordinate array" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_poppattern': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2341:114: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to terminate the pattern definition" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pushclippath': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2358:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &clip_mask, &clip_mask_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2358:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &clip_mask, &clip_mask_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2436:17: warning: implicit declaration of function 'php_imagick_zval_to_long_array'; did you mean 'php_imagick_set_locale'? [-Wimplicit-function-declaration] long_array = php_imagick_zval_to_long_array(pixels, &num_elements TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_set_locale --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pushpattern': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2397:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sdddd", &pattern_id, &pattern_id_len, &x, &y, &width, &height) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2397:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sdddd", &pattern_id, &pattern_id_len, &x, &y, &width, &height) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2436:70: error: expected ')' before 'TSRMLS_CC' long_array = php_imagick_zval_to_long_array(pixels, &num_elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2436:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] long_array = php_imagick_zval_to_long_array(pixels, &num_elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2438:91: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The map must contain only numeric values" TSRMLS_CC); ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_render': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2423:39: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? old_locale = php_imagick_set_locale (TSRMLS_C); ^~~~~~~~ TSRM_H /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2423:39: note: each undeclared identifier is reported only once for each function it appears in /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2433:109: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to render the drawing commands" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_rotate': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2449:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2449:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_scale': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2469:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2469:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setclippath': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2491:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &clip_mask, &clip_mask_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2491:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &clip_mask, &clip_mask_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2499:99: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to set clipping path" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setcliprule': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2515:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &fill_rule) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2515:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &fill_rule) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setclipunits': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2535:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &units) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2535:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &units) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfillopacity': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2555:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &fillOpacity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2555:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &fillOpacity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfillpatternurl': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2578:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &url, &url_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2578:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &url, &url_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2586:102: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to set fill pattern URL" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfillrule': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2602:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &fill_rule) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2602:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &fill_rule) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setgravity': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2622:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &gravity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2622:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &gravity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokepatternurl': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2644:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &url, &url_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2644:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &url, &url_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2652:104: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to set stroke pattern URL" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokedashoffset': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2668:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &offset) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2668:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &offset) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokelinecap': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2688:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &line_cap) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2688:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &line_cap) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokelinejoin': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2708:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &line_join) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2708:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &line_join) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokemiterlimit': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2728:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &miter_limit) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2728:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &miter_limit) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setstrokeopacity': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2748:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2748:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setvectorgraphics': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2770:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &vector, &vector_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2770:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &vector, &vector_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2778:105: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to set the vector graphics" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_pop': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2801:116: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to pop the current ImagickDraw object" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_push': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2824:117: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to push the current ImagickDraw object" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setopacity': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2859:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2859:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_getfontresolution': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2889:117: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to push the current ImagickDraw object" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setfontresolution': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2914:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2914:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2921:117: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to push the current ImagickDraw object" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setbordercolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2971:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2971:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2977:82: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand(param, IMAGICKDRAW_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2446:17: warning: implicit declaration of function 'php_imagick_zval_to_char_array'; did you mean 'php_imagick_set_locale'? [-Wimplicit-function-declaration] char_array = php_imagick_zval_to_char_array(pixels, &num_elements TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ php_imagick_set_locale --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:2977:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand(param, IMAGICKDRAW_CLASS, &allocated TSRMLS_CC); ^ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2446:70: error: expected ')' before 'TSRMLS_CC' char_array = php_imagick_zval_to_char_array(pixels, &num_elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2446:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] char_array = php_imagick_zval_to_char_array(pixels, &num_elements TSRMLS_CC); ^ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_settextdirection': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:3021:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &direction) == FAILURE) { ^~~~~~~~~ --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2448:96: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The character array contains incorrect values" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2456:72: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Unknown storage format" TSRMLS_CC); ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:3021:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &direction) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c: In function 'zim_imagickdraw_setdensity': --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2462:94: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to import image pixels" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_deskewimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2475:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &threshold) == FAILURE) { ^~~~~~~~~ --- imagickdraw_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:3044:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &density, &density_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:3044:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &density, &density_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2475:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &threshold) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2485:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to deskew image" TSRMLS_CC); --- imagickdraw_class.lo --- ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagickdraw_class.c:3052:115: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagickdraw_exception (internd->drawing_wand, "Unable to setdensity for ImagickDraw object" TSRMLS_CC); ^~~~~~~~~ --- imagick_class.lo --- ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_segmentimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2499:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ldd|b", &colorspace, &cluster_threshold, &smooth_threshold, &verbose) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2499:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ldd|b", &colorspace, &cluster_threshold, &smooth_threshold, &verbose) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2510:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to segment image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_sparsecolorimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2524:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "la|l", &sparse_method, &arguments, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2524:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "la|l", &sparse_method, &arguments, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2532:75: error: expected ')' before 'TSRMLS_CC' double_array = php_imagick_zval_to_double_array(arguments, &num_elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2532:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] double_array = php_imagick_zval_to_double_array(arguments, &num_elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2535:89: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The map must contain only numeric values" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2548:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to sparse color image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_remapimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2565:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &remap_param, php_imagick_sc_entry, &dither_method) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2565:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &remap_param, php_imagick_sc_entry, &dither_method) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2580:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to remap image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_exportimagepixels': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2629:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llllsl", &x, &y, &width, &height, &map, &map_len, &storage) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2629:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llllsl", &x, &y, &width, &height, &map, &map_len, &storage) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2634:85: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The coordinates must be non-negative" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2639:95: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The width and height must be greater than zero" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2643:36: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_validate_map(map TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2644:87: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The map contains disallowed characters" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2768:69: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Unknown pixel type " TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2774:94: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to export image pixels" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagechannelkurtosis': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2793:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2793:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2804:101: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image channel kurtosis" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_functionimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2826:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "la|l", &func, &arguments, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2826:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "la|l", &func, &arguments, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2834:68: error: expected ')' before 'TSRMLS_CC' array = php_imagick_zval_to_double_array(arguments, &num_elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2834:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] array = php_imagick_zval_to_double_array(arguments, &num_elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2837:112: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The arguments array contains disallowed characters or is empty." TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2845:104: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to execute function on the image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_transformimagecolorspace': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2865:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &colorspace) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2865:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &colorspace) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2877:101: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to transform image colorspace" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_haldclutimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2897:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|l", &objvar, php_imagick_sc_entry, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2897:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|l", &objvar, php_imagick_sc_entry, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2913:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to hald clut image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_autolevelimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2931:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2931:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2941:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to autolevel image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_blueshiftimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2957:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|d", &factor) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2957:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|d", &factor) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2967:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to blue shift image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageartifact': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2983:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &artifact, &artifact_len, &value, &value_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2983:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &artifact, &artifact_len, &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:2993:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image artifact" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageartifact': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3006:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &artifact, &artifact_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3006:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &artifact, &artifact_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3017:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image artifact" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_deleteimageartifact': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3039:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &artifact, &artifact_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3039:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &artifact, &artifact_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3050:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to delete image artifact" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setcolorspace': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3083:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &colorspace) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3083:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &colorspace) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_clampimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3103:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3103:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3114:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to clamp image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_smushimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3135:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bl", &stack, &offset) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3135:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bl", &stack, &offset) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3146:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to smush images" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick___construct': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3170:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z!/", &files) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3170:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z!/", &files) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ --- imagickdraw_class.lo --- *** [imagickdraw_class.lo] Error code 1 make: stopped in /tmp/graphics/php-imagick/work/imagick-3.4.4 --- imagick_class.lo --- /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3188:8: warning: implicit declaration of function 'php_imagick_file_init'; did you mean 'php_imagick_file_deinit'? [-Wimplicit-function-declaration] if (!php_imagick_file_init(&file, Z_STRVAL_P(files), Z_STRLEN_P(files) TSRMLS_CC)) { ^~~~~~~~~~~~~~~~~~~~~ php_imagick_file_deinit /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3188:74: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_file_init(&file, Z_STRVAL_P(files), Z_STRLEN_P(files) TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3189:75: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid filename provided" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3192:8: warning: implicit declaration of function 'php_imagick_read_file'; did you mean 'php_imagick_set_locale'? [-Wimplicit-function-declaration] rc = php_imagick_read_file(intern, &file, ImagickReadImage TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~ php_imagick_set_locale /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3192:62: error: expected ')' before 'TSRMLS_CC' rc = php_imagick_read_file(intern, &file, ImagickReadImage TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3196:81: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, Z_STRVAL_P(files) TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3208:75: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_file_init(&file, Z_STRVAL_P(pzval), Z_STRLEN_P(pzval) TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3209:76: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid filename provided" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3213:63: error: expected ')' before 'TSRMLS_CC' rc = php_imagick_read_file(intern, &file, ImagickReadImage TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3217:82: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, Z_STRVAL_P(pzval) TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_count': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3350:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &mode) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3350:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &mode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_queryformats': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3370:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3370:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_queryfonts': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3398:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3398:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_queryfontmetrics': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3432:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|z!", &objvar, php_imagickdraw_sc_entry, &text, &text_len, &multiline) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3432:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|z!", &objvar, php_imagickdraw_sc_entry, &text, &text_len, &multiline) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3465:126: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to allocate background color for the temporary canvas" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3474:101: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to allocate temporary canvas" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3493:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Failed to query the font metrics" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_readimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3576:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3576:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3582:59: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_file_init(&file, filename, filename_len TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3583:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid filename provided" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3587:61: error: expected ')' before 'TSRMLS_CC' rc = php_imagick_read_file(intern, &file, ImagickReadImage TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3591:71: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_readimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3612:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &files) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3612:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &files) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3621:74: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_file_init(&file, Z_STRVAL_P(value), Z_STRLEN_P(value) TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3622:75: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid filename provided" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3626:62: error: expected ')' before 'TSRMLS_CC' rc = php_imagick_read_file(intern, &file, ImagickReadImage TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3630:81: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, Z_STRVAL_P(value) TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_pingimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3692:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3692:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3698:59: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_file_init(&file, filename, filename_len TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3699:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid filename provided" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3702:61: error: expected ')' before 'TSRMLS_CC' rc = php_imagick_read_file(intern, &file, ImagickPingImage TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3706:71: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_readimagefile': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3725:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &filename, &filename_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3725:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|s!", &zstream, &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3736:75: error: expected ')' before 'TSRMLS_CC' result = php_imagick_stream_handler(intern, stream, ImagickReadImageFile TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3740:106: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to read image from the filehandle" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_displayimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3766:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3766:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3778:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to display image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_displayimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3797:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3797:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &server_name, &server_name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3809:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to display images" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_readimageblob': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3830:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!", &image_string, &image_string_len, &filename, &filename_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3830:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s!", &image_string, &image_string_len, &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3835:78: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Zero size image string passed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3844:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to read image blob" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_blurimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3867:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3867:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3879:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to blur image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_waveimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3897:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &litude, &wave_length) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3897:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &litude, &wave_length) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3917:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to wave image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_scaleimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3963:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|bb", &width, &height, &bestfit, &legacy) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3963:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|bb", &width, &height, &bestfit, &legacy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3972:71: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid image geometry" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3980:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to scale image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_cropimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3998:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:3998:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4010:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to crop image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_spreadimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4028:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4028:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4048:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to spread image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_swirlimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4066:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4066:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4086:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to swirl image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_stripimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4114:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to strip image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_trimimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4132:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &fuzz) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4132:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &fuzz) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4144:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to trim image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_chopimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4162:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4162:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4174:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to chop image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_clipimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4203:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to clip image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_clippathimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4222:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sb", &clip_path, &clip_path_len, &inside) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4222:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sb", &clip_path, &clip_path_len, &inside) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4237:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to clip path image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_coalesceimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4265:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Coalesce image failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_combineimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4344:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4344:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4355:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Combine images failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4377:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4377:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4393:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set the image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4420:81: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Get image failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_addimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4442:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &add_obj, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4442:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &add_obj, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4456:84: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to add image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_newimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4480:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llz|s", &columns, &rows, ¶m, &format, &format_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4480:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llz|s", &columns, &rows, ¶m, &format, &format_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4486:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4486:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4497:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to create new image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4509:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set the image format" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_newpseudoimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4533:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lls", &columns, &rows, &pseudo_string, &pseudo_string_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4533:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lls", &columns, &rows, &pseudo_string, &pseudo_string_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4539:77: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid pseudo format string" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4550:98: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to create new pseudo image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4554:69: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_file_init(&file, pseudo_string, pseudo_string_len TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4555:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid filename provided" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4558:61: error: expected ')' before 'TSRMLS_CC' rc = php_imagick_read_file(intern, &file, ImagickReadImage TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4562:76: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, pseudo_string TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_implodeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4600:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4600:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4620:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to implode image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_inversefouriertransformimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4641:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ob", &complement_obj, php_imagick_sc_entry, &magnitude) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4641:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ob", &complement_obj, php_imagick_sc_entry, &magnitude) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4654:109: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to inversefouriertransformimage image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_levelimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4673:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|l", &black_point, &gamma, &white_point, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4673:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|l", &black_point, &gamma, &white_point, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4685:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to level image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_magnifyimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4712:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to magnify image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_negateimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4846:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|l", &gray, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4846:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b|l", &gray, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4858:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to negate image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_optimizeimagelayers': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:4946:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Optimize image layers failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_previewimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5015:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &preview) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5015:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &preview) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5026:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Preview images failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_profileimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5048:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &profile, &profile_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5048:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &profile, &profile_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5060:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to profile image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_quantizeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5079:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllbb", &number_colors, &colorspace, &tree_depth, &dither, &measure_error) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5079:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllbb", &number_colors, &colorspace, &tree_depth, &dither, &measure_error) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5091:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to quantize image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_quantizeimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5110:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllbb", &number_colors, &colorspace, &tree_depth, &dither, &measure_error) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5110:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllbb", &number_colors, &colorspace, &tree_depth, &dither, &measure_error) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5122:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to quantize images" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_removeimageprofile': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5180:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5180:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5191:81: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "The image profile does not exist" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_separateimagechannel': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5211:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5211:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5227:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to separate image channel" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_sepiatoneimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5245:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &threshold) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5245:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &threshold) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5259:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to sepia tone image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageblueprimary': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5346:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &x, &y, &z) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5346:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &x, &y, &z) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5365:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image blue primary" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagebordercolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5383:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5383:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5392:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5392:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5403:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image border color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagechanneldepth': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5420:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &channel_type, &depth) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5420:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &channel_type, &depth) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5432:98: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image channel depth" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagecolormapcolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5452:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &index, ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5452:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz", &index, ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5460:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5460:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5471:100: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image color map color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagecolorspace': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5489:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &colorspace) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5489:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &colorspace) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5501:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image colorspace" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagedispose': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5518:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &dispose) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5518:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &dispose) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5530:92: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image dispose" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageextent': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5547:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &rows, &columns) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5547:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &rows, &columns) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5559:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image extent" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagegreenprimary': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5583:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &x, &y, &z) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5583:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &x, &y, &z) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5602:98: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image green primary" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageinterlacescheme': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5619:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &interlace) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5619:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &interlace) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5631:101: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image interlace scheme" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageprofile': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5649:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &profile, &profile_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5649:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &profile, &profile_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5661:92: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image profile" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageredprimary': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5685:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &x, &y, &z) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5685:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &x, &y, &z) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5704:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image red primary" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagerenderingintent': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5721:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &rendering_intent) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5721:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &rendering_intent) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5733:101: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image rendering intent" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagevirtualpixelmethod': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5749:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &virtual_pixel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5749:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &virtual_pixel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagewhitepoint': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5780:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &x, &y, &z) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5780:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &x, &y, &z) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5799:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image white point" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_sigmoidalcontrastimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5818:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bdd|l", &sharpen, &contrast, &midpoint, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5818:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "bdd|l", &sharpen, &contrast, &midpoint, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5830:99: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to sigmoidal contrast image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_stereoimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5847:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5847:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5862:84: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Stereo image failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_textureimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5884:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5884:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &magick_object, php_imagick_sc_entry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5899:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Texture image failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_tintimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5926:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz|b", &tint_param, &opacity_param, &legacy) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5926:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz|b", &tint_param, &opacity_param, &legacy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5934:88: error: expected ')' before 'TSRMLS_CC' tint_wand = php_imagick_zval_to_pixelwand (tint_param, IMAGICK_CLASS, &tint_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5934:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] tint_wand = php_imagick_zval_to_pixelwand (tint_param, IMAGICK_CLASS, &tint_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5939:18: warning: implicit declaration of function 'php_imagick_zval_to_opacity'; did you mean 'zim_imagickdraw_setopacity'? [-Wimplicit-function-declaration] opacity_wand = php_imagick_zval_to_opacity(opacity_param, IMAGICK_CLASS, &opacity_allocated TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ zim_imagickdraw_setopacity /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5939:95: error: expected ')' before 'TSRMLS_CC' opacity_wand = php_imagick_zval_to_opacity(opacity_param, IMAGICK_CLASS, &opacity_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5939:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion] opacity_wand = php_imagick_zval_to_opacity(opacity_param, IMAGICK_CLASS, &opacity_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5942:97: error: expected ')' before 'TSRMLS_CC' opacity_wand = php_imagick_zval_to_pixelwand(opacity_param, IMAGICK_CLASS, &opacity_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5942:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion] opacity_wand = php_imagick_zval_to_pixelwand(opacity_param, IMAGICK_CLASS, &opacity_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5962:82: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable tint image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_unsharpmaskimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5980:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd|l", &radius, &sigma, &amount, &threshold, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5980:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd|l", &radius, &sigma, &amount, &threshold, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:5992:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to unsharp mask image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_convolveimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6015:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|l", &objvar, php_imagickkernel_sc_entry, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6015:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|l", &objvar, php_imagickkernel_sc_entry, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:23:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_macros.h:45:115: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(php_imagickkernel_exception_class_entry, "ImagickKernel is empty, cannot be used", (long)0 TSRMLS_CC); \ ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6022:2: note: in expansion of macro 'IMAGICK_KERNEL_NOT_NULL_EMPTY' IMAGICK_KERNEL_NOT_NULL_EMPTY(kernel); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6027:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Failed to filter image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_cyclecolormapimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6090:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &displace) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6090:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &displace) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6102:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to cycle image colormap" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_deconstructimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6129:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Deconstruct image failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageregion': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6151:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6151:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6162:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Get image region failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_despeckleimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6195:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to despeckle image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_edgeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6213:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6213:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6225:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to edge image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_embossimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6244:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &sigma) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6244:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &sigma) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6256:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to emboss image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_enhanceimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6284:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to enchance image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_equalizeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6312:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to equalize image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_evaluateimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6332:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld|l", &evaluate_operator, &constant, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6332:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld|l", &evaluate_operator, &constant, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6344:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to evaluate image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_evaluateimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6366:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &evaluate_operator) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6366:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &evaluate_operator) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6384:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set iterator index" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_forwardfouriertransformimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6412:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &magnitude) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6412:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &magnitude) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6424:109: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to forwardfouriertransformimage image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagebackgroundcolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6518:101: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image background color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6524:101: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image background color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageblueprimary': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6564:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image blue primary" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagebordercolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6601:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image border color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6607:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image border color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagechanneldepth': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6628:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6628:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagechanneldistortion': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6652:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &channel_type, &metric_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6652:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &channel_type, &metric_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6667:103: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image channel distortion" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagechannelmean': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6725:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6725:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6736:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image channel mean" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagecolormapcolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6870:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6870:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6882:99: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image colormap color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6888:99: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image colormap color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagedistortion': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6995:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &metric_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:6995:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &metric_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7010:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image distortion" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagegreenprimary': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7126:98: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image green primary" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagepage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7319:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image page" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagepixelcolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7345:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7345:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7356:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Failed to allocate new PixelWand" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7364:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable get image pixel color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageprofile': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7390:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7390:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7406:73: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Can not get image profile" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageredprimary': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7439:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image red primary" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageresolution': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7495:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image resolution" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagewhitepoint': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7663:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get image white point" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_thumbnailimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7770:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|bbb", &width, &height, &bestfit, &fill, &legacy) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7770:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|bbb", &width, &height, &bestfit, &fill, &legacy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7781:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to resize and fill image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7790:72: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid image geometry" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7795:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to thumbnail image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_calculatecrop': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7867:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll|b", ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7867:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll|b", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7874:79: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "All values must be above zero." TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: At top level: /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7898:123: error: expected ';', ',' or ')' before 'TSRMLS_DC' zend_bool s_crop_thumbnail_image(MagickWand *magick_wand, im_long desired_width, im_long desired_height, zend_bool legacy TSRMLS_DC) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_cropthumbnailimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7950:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|b", &crop_width, &crop_height, &legacy) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7950:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll|b", &crop_width, &crop_height, &legacy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7959:7: warning: implicit declaration of function 's_crop_thumbnail_image'; did you mean 'MagickThumbnailImage'? [-Wimplicit-function-declaration] if (!s_crop_thumbnail_image(intern->magick_wand, crop_width, crop_height, legacy TSRMLS_CC)) { ^~~~~~~~~~~~~~~~~~~~~~ MagickThumbnailImage /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7959:83: error: expected ')' before 'TSRMLS_CC' if (!s_crop_thumbnail_image(intern->magick_wand, crop_width, crop_height, legacy TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:7960:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to crop-thumbnail image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_removeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8220:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to remove image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageblob': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8310:68: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Image has no format" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagesblob': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8358:69: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Image has no format" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8372:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set the iterator index" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimageformat': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8403:68: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Image has no format" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getimagemimetype': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8431:68: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Image has no format" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8441:78: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Unable to get image mime-type" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: At top level: /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8461:61: error: expected ';', ',' or ')' before 'TSRMLS_DC' void s_add_named_strings (zval *array, const char *haystack TSRMLS_DC) ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_identifyimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8557:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &append_raw_string) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8557:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &append_raw_string) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8592:2: warning: implicit declaration of function 's_add_named_strings'; did you mean 'add_index_stringl'? [-Wimplicit-function-declaration] s_add_named_strings (return_value, identify TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~ add_index_stringl /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8592:46: error: expected ')' before 'TSRMLS_CC' s_add_named_strings (return_value, identify TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_commentimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8672:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8672:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &comment, &comment_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8685:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to comment image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagefilename': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8704:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8704:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8716:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image filename" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagebackgroundcolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8769:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8769:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8778:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8778:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8789:101: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image background color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagechannelmask': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8808:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8808:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagecompose': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8834:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compose) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8834:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compose) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8846:103: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image composite operator" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagecompression': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8879:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compression) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8879:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compression) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8892:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image compression" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagedelay': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8909:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &delay) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8909:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &delay) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8921:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image delay" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_colorizeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8945:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz|b", &color_param, &opacity_param, &legacy) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8945:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz|b", &color_param, &opacity_param, &legacy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8953:91: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (color_param, IMAGICK_CLASS, &color_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8953:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (color_param, IMAGICK_CLASS, &color_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8958:96: error: expected ')' before 'TSRMLS_CC' opacity_wand = php_imagick_zval_to_opacity (opacity_param, IMAGICK_CLASS, &opacity_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8958:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion] opacity_wand = php_imagick_zval_to_opacity (opacity_param, IMAGICK_CLASS, &opacity_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8961:97: error: expected ')' before 'TSRMLS_CC' opacity_wand = php_imagick_zval_to_pixelwand(opacity_param, IMAGICK_CLASS, &opacity_allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8961:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion] opacity_wand = php_imagick_zval_to_pixelwand(opacity_param, IMAGICK_CLASS, &opacity_allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8975:69: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICK_CLASS, "Failed to allocate" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:8996:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to colorize image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_compareimagechannels': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9022:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &channel_type, &metric_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9022:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &channel_type, &metric_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9037:94: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Compare image channels failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_compareimagelayers': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9069:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compare_method) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9069:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compare_method) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9084:92: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Compare image layers failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_flipimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9158:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to flip image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_flopimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9185:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to flop image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_frameimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9204:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zllll", ¶m, &width, &height, &inner_bevel, &outer_bevel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9204:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zllll", ¶m, &width, &height, &inner_bevel, &outer_bevel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9213:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9213:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9232:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to frame image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_fximage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9251:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &expression, &expression_len, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9251:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &expression, &expression_len, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9262:80: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Fx image failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_gammaimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9284:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|l", &gamma, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9284:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|l", &gamma, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9296:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to gamma image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_gaussianblurimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9314:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9314:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9326:94: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to gaussian blur image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_compareimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9352:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &metric_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9352:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &metric_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9375:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Compare images failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_contrastimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9400:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &contrast) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9400:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &contrast) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9412:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to contrast image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagedepth': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9429:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &depth) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9429:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &depth) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9441:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image depth" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagegamma': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9458:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &gamma) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9458:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &gamma) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9470:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image gamma" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageiterations': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9487:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &iterations) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9487:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &iterations) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9499:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image iterations" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagepage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9557:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9557:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9569:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image page" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageresolution': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9586:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x_res, &y_res) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9586:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x_res, &y_res) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9598:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image resolution" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagescene': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9615:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &scene) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9615:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &scene) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9627:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image scene" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagetickspersecond': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9644:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &ticks_per_second) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9644:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &ticks_per_second) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9656:101: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image ticks per second" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagetype': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9673:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &image_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9673:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &image_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9685:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image type" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageunits': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9702:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &units) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9702:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &units) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9715:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image units" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageformat': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9733:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &format, &format_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9733:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &format, &format_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9745:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image format" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_charcoalimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9763:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &sigma) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9763:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &sigma) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9775:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to charcoal image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_oilpaintimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9796:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9796:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &radius) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9813:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to oilpaint image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_normalizeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9830:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9830:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9845:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to normalize image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_labelimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9863:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9863:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9875:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to label image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_writeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9895:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &filename, &filename_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9895:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!", &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9907:77: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "No image filename specified" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9915:87: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Can not use empty string as a filename" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9919:59: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_file_init(&file, filename, filename_len TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9920:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid filename provided" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9923:7: warning: implicit declaration of function 'php_imagick_write_file'; did you mean 'zim_imagick_writeimage'? [-Wimplicit-function-declaration] rc = php_imagick_write_file(intern, &file, ImagickWriteImage, 0 TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~ zim_imagick_writeimage /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9923:66: error: expected ')' before 'TSRMLS_CC' rc = php_imagick_write_file(intern, &file, ImagickWriteImage, 0 TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9927:71: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_writeimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9953:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sb", &filename, &filename_len, &adjoin) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9953:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sb", &filename, &filename_len, &adjoin) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9962:103: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Can not use empty string as a filename" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9966:59: error: expected ')' before 'TSRMLS_CC' if (!php_imagick_file_init(&file, filename, filename_len TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9967:74: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid filename provided" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9970:72: error: expected ')' before 'TSRMLS_CC' rc = php_imagick_write_file(intern, &file, ImagickWriteImages, adjoin TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9974:71: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_drawimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9998:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagickdraw_sc_entry) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:9998:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagickdraw_sc_entry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10004:39: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'? old_locale = php_imagick_set_locale (TSRMLS_C); ^~~~~~~~ TSRM_H /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10004:39: note: each undeclared identifier is reported only once for each function it appears in /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10015:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to draw image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_annotateimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10039:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oddds", &objvar, php_imagickdraw_sc_entry, &x, &y, &angle, &text, &text_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10039:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oddds", &objvar, php_imagickdraw_sc_entry, &x, &y, &angle, &text, &text_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10063:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to annotate image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimagecompressionquality': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10096:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &quality) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10096:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &quality) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10108:104: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set image compression quality" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_compositeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10129:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Olll|l", &objvar, php_imagick_sc_entry, &composite_id, &x, &y, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10129:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Olll|l", &objvar, php_imagick_sc_entry, &composite_id, &x, &y, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_modulateimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10160:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &brightness, &saturation, &hue) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10160:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &brightness, &saturation, &hue) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10171:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to modulate image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_addnoiseimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10189:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &noise, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10189:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &noise, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10205:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to add image noise" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_montageimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10227:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ossls", &objvar, php_imagickdraw_sc_entry, ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10227:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ossls", &objvar, php_imagickdraw_sc_entry, ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10245:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Montage image failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_affinetransformimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10267:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagickdraw_sc_entry) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10267:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &objvar, php_imagickdraw_sc_entry) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10280:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to affine transform image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_borderimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10341:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zll", ¶m, &width, &height) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10341:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zll", ¶m, &width, &height) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10350:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10350:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10365:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to border image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_thresholdimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10383:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|l", &threshold, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10383:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|l", &threshold, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10396:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to threshold image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_adaptivethresholdimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10413:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &width, &height, &offset) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10413:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &width, &height, &offset) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10425:99: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to adaptive threshold image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_sharpenimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10444:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10444:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &radius, &sigma, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10456:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to sharpen image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_shaveimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10472:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &columns, &rows) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10472:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &columns, &rows) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10484:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to shave image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_shearimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10504:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdd", ¶m, &x_shear, &y_shear) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10504:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zdd", ¶m, &x_shear, &y_shear) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10512:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10512:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10523:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to shear image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_spliceimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10541:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10541:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10553:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to splice image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_steganoimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10571:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &offset) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10571:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Ol", &objvar, php_imagick_sc_entry, &offset) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10586:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Stegano image failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_clone': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10614:94: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Cloning Imagick object failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_rotateimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10637:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zd", ¶m, °rees) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10637:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zd", ¶m, °rees) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10645:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10645:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10656:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to rotate image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_sampleimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10673:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &columns, &rows) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10673:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &columns, &rows) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10685:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to sample image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_solarizeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10702:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &threshold) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10702:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &threshold) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10715:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to solarize image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_shadowimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10733:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddll", &opacity, &sigma, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10733:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddll", &opacity, &sigma, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10745:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to shadow image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_motionblurimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10763:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|l", &radius, &sigma, &angle, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10763:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|l", &radius, &sigma, &angle, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10779:92: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to motion blur image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_morphimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10837:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &frames) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10837:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &frames) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10848:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Morphing images failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_minifyimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10881:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to minify image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_posterizeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10900:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lb", &levels, &dither) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10900:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lb", &levels, &dither) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10912:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to posterize image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_raiseimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10965:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llllb", &width, &height, &x, &y, &raise) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10965:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llllb", &width, &height, &x, &y, &raise) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10977:86: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to raise image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_blackthresholdimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10996:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:10996:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11004:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11004:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11015:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to black threshold image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_resampleimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11033:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddld", &xRes, &yRes, &filter, &blur) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11033:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddld", &xRes, &yRes, &filter, &blur) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11051:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to resample image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_resizeimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11074:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llld|bb", &width, &height, &filter, &blur, &bestfit, &legacy) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11074:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llld|bb", &width, &height, &filter, &blur, &bestfit, &legacy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11083:71: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Invalid image geometry" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11096:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to resize image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_rollimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11113:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11113:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11124:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to roll image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_appendimages': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11141:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &stack) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11141:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &stack) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11152:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to append images" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_whitethresholdimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11174:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11174:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11182:79: error: expected ')' before 'TSRMLS_CC' color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11182:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] color_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11193:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to white threshold image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getpixeliterator': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11221:100: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXELITERATOR_CLASS, "Can not allocate ImagickPixelIterator" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11225:2: warning: implicit declaration of function 'php_imagick_pixel_iterator_new'; did you mean 'zim_imagickpixeliterator_clear'? [-Wimplicit-function-declaration] php_imagick_pixel_iterator_new (pixel_it, return_value TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zim_imagickpixeliterator_clear /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11225:57: error: expected ')' before 'TSRMLS_CC' php_imagick_pixel_iterator_new (pixel_it, return_value TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getpixelregioniterator': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11240:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &x, &y, &columns, &rows) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11240:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &x, &y, &columns, &rows) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11252:100: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception (IMAGICKPIXELITERATOR_CLASS, "Can not allocate ImagickPixelIterator" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11256:57: error: expected ')' before 'TSRMLS_CC' php_imagick_pixel_iterator_new (pixel_it, return_value TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getconfigureoptions': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11324:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11324:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &pattern, &pattern_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getoption': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11451:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11451:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getpage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11502:83: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get page" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getresource': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11626:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &resource_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11626:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &resource_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getresourcelimit': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11641:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &resource_type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11641:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &resource_type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getsize': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11696:83: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to get size" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setbackgroundcolor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11740:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11740:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", ¶m) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11746:84: error: expected ')' before 'TSRMLS_CC' background_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11746:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion] background_wand = php_imagick_zval_to_pixelwand (param, IMAGICK_CLASS, &allocated TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11757:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set background color" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setcompression': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11775:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compression) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11775:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &compression) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11784:90: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set compression" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setcompressionquality': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11801:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &quality) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11801:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &quality) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11810:98: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set compression quality" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setfilename': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11828:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11828:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11837:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set filename" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setformat': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11856:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &format, &format_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11856:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &format, &format_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11865:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set format" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setinterlacescheme': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11883:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &schema) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11883:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &schema) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11892:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set interlace scheme" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setoption': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11910:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &value, &value_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11910:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11919:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set option" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setpage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11936:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11936:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &width, &height, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11945:83: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set page" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setimageprogressmonitor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11960:96: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Progress monitoring is disabled in ini-settings" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11965:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11965:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11971:52: error: expected ')' before 'TSRMLS_CC' if ((rc = php_imagick_file_access_check (filename TSRMLS_CC)) != IMAGICK_RW_OK) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11972:71: error: expected ')' before 'TSRMLS_CC' php_imagick_rw_fail_to_exception (intern->magick_wand, rc, filename TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setprogressmonitor': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11997:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &user_callback) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:11997:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &user_callback) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12002:65: error: expected ')' before 'TSRMLS_CC' if (!user_callback || !zend_is_callable(user_callback, 0, NULL TSRMLS_CC)) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12003:120: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "First argument to setProgressMonitor is expected to be a valid callback" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12009:2: warning: implicit declaration of function 'TSRMLS_SET_CTX'; did you mean 'TSRMLS_CACHE'? [-Wimplicit-function-declaration] TSRMLS_SET_CTX(callback->thread_ctx); ^~~~~~~~~~~~~~ TSRMLS_CACHE /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setresourcelimit': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12043:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld", &type, &limit) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12043:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ld", &type, &limit) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12051:77: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Unable to set resource limit" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setresolution': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12068:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x_resolution, &y_resolution) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12068:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x_resolution, &y_resolution) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12077:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set resolution" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setsamplingfactors': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12096:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &factors) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12096:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &factors) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12100:69: error: expected ')' before 'TSRMLS_CC' double_array = php_imagick_zval_to_double_array(factors, &elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12100:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] double_array = php_imagick_zval_to_double_array(factors, &elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12103:65: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Can't read array" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12114:95: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set sampling factors" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setsize': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12131:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &columns, &rows) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12131:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &columns, &rows) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12140:83: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set size" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_settype': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12157:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &type) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12157:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &type) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12166:83: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to set type" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_brightnesscontrastimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12185:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &brightness, &contrast, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12185:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd|l", &brightness, &contrast, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12197:98: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to brightnesscontrastimage" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_colormatriximage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12257:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &color_matrix_array) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12257:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &color_matrix_array) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12265:78: error: expected ')' before 'TSRMLS_CC' colors = php_imagick_zval_to_double_array(color_matrix_array, &num_elements TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12265:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] colors = php_imagick_zval_to_double_array(color_matrix_array, &num_elements TSRMLS_CC); ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12268:82: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Unable to read color matrix array" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12280:86: error: expected ')' before 'TSRMLS_CC' php_imagick_throw_exception(IMAGICK_CLASS, "Color matrix array must be 5x5 or 6x6" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12301:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to colormatriximage" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_selectiveblurimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12321:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|l", &brightness, &contrast, &threshold, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12321:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|l", &brightness, &contrast, &threshold, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12333:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to selectiveblurimage" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_rotationalblurimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12354:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|l", &angle, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12354:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|l", &angle, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12366:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to rotational blur image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_statisticimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12396:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &type, &width, &height, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12396:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &type, &width, &height, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12408:89: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to statisticImage" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_subimagematch': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12455:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, param_string, &reference_obj, php_imagick_sc_entry, &z_best_match_offset, &z_similarity, &similarity_threshold, &metric) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12455:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, param_string, &reference_obj, php_imagick_sc_entry, &z_best_match_offset, &z_similarity, &similarity_threshold, &metric) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12473:85: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "subimagematch failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setregistry': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12510:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &value, &value_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12510:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &key, &key_len, &value, &value_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_getregistry': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12535:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12535:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12544:64: error: expected ')' before 'TSRMLS_CC' zend_throw_exception_ex(php_imagick_exception_class_entry, 1 TSRMLS_CC, "Imagick::getRegistry exception (%s) ", ex_info->reason); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12544:3: error: too few arguments to function 'zend_throw_exception_ex' zend_throw_exception_ex(php_imagick_exception_class_entry, 1 TSRMLS_CC, "Imagick::getRegistry exception (%s) ", ex_info->reason); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_defs.h:37:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:22: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_exceptions.h:61:33: note: declared here ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_morphology': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12602:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llO|l", &morphologyMethod, &iterations, &objvar, php_imagickkernel_sc_entry, &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12602:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llO|l", &morphologyMethod, &iterations, &objvar, php_imagickkernel_sc_entry, &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:23:0: /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick_macros.h:45:115: error: expected ')' before 'TSRMLS_CC' zend_throw_exception(php_imagickkernel_exception_class_entry, "ImagickKernel is empty, cannot be used", (long)0 TSRMLS_CC); \ ^ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12608:2: note: in expansion of macro 'IMAGICK_KERNEL_NOT_NULL_EMPTY' IMAGICK_KERNEL_NOT_NULL_EMPTY(kernel); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12615:91: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to morphology image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_setantialias': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12682:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &antialias) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12682:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &antialias) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12690:87: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to setAntiAlias" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_colordecisionlistimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12734:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &color_correction_collection, &ccc_len) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12734:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &color_correction_collection, &ccc_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12742:97: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to colorDecisionListImage" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_optimizeimagetransparency': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12772:99: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Optimize image transparency failed" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_autogammaimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12791:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12791:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &channel) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12803:79: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "autoGammaImage" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_autoorient': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12833:88: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable autoOrient image" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_compositeimagegravity': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12854:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &composite, &gravity) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12854:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Oll", &objvar, php_imagick_sc_entry, &composite, &gravity) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12870:96: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Unable to compositeImageGravity" TSRMLS_CC); ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c: In function 'zim_imagick_localcontrastimage': /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12892:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &strength) == FAILURE) { ^~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12892:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &radius, &strength) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35:0, from /tmp/graphics/php-imagick/work/imagick-3.4.4/php_imagick.h:42, from /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:21: /tmp/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/graphics/php-imagick/work/imagick-3.4.4/imagick_class.c:12904:93: error: expected ')' before 'TSRMLS_CC' php_imagick_convert_imagick_exception(intern->magick_wand, "Failed to localContrastImage" TSRMLS_CC); ^~~~~~~~~ *** [imagick_class.lo] Error code 1 make: stopped in /tmp/graphics/php-imagick/work/imagick-3.4.4 4 errors make: stopped in /tmp/graphics/php-imagick/work/imagick-3.4.4 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/php-imagick *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/php-imagick