=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/php-gd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "PHP_VERSION_REQD=56"] ===> Building for php56-gd-5.6.40nb13 /bin/cp /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/php-gd/../../lang/php/ext.ini /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.ini --- gd.lo --- --- gd_compat.lo --- /usr/bin/bash /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/libtool --mode=compile gcc -std=gnu23 -I/tmp/work/graphics/php-gd/work/.buildlink/include -I. -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/main -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd -I/opt/pkg/include/php/5.6 -I/opt/pkg/include/php/5.6/main -I/opt/pkg/include/php/5.6/TSRM -I/opt/pkg/include/php/5.6/Zend -I/opt/pkg/include/php/5.6/ext -I/opt/pkg/include/php/5.6/ext/date/lib -I/tmp/work/graphics/php-gd/work/.buildlink/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/php/5.6 -I/opt/pkg/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/php/5.6 -I/opt/pkg/include/libxml2 -c /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_compat.c -o gd_compat.lo --- gd.lo --- /usr/bin/bash /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/libtool --mode=compile gcc -std=gnu23 -I/tmp/work/graphics/php-gd/work/.buildlink/include -I. -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/main -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd -I/opt/pkg/include/php/5.6 -I/opt/pkg/include/php/5.6/main -I/opt/pkg/include/php/5.6/TSRM -I/opt/pkg/include/php/5.6/Zend -I/opt/pkg/include/php/5.6/ext -I/opt/pkg/include/php/5.6/ext/date/lib -I/tmp/work/graphics/php-gd/work/.buildlink/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/php/5.6 -I/opt/pkg/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/php/5.6 -I/opt/pkg/include/libxml2 -c /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c -o gd.lo libtool: compile: gcc -std=gnu23 -I/tmp/work/graphics/php-gd/work/.buildlink/include -I. -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6 -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/TSRM -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/Zend -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/ext -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/ext/date/lib -I/tmp/work/graphics/php-gd/work/.buildlink/include/freetype2 -I/tmp/work/graphics/php-gd/work/.buildlink/include/libpng16 -I/tmp/work/graphics/php-gd/work/.buildlink/include/harfbuzz -I/tmp/work/graphics/php-gd/work/.buildlink/include/glib-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/include/gio-unix-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/lib/gli--- gd_compat.lo --- libtool: compile: gcc -std=gnu23 -I/tmp/work/graphics/php-gd/work/.buildlink/include -I. -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6 -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/TSRM -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/Zend -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/ext -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/ext/date/lib -I/tmp/work/graphics/php-gd/work/.buildlink/include/freetype2 -I/tmp/work/graphics/php-gd/work/.buildlink/include/libpng16 -I/tmp/work/graphics/php-gd/work/.buildlink/include/harfbuzz -I/tmp/work/graphics/php-gd/work/.buildlink/include/glib-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/include/gio-unix-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/lib/gli--- gd.lo --- b-2.0/include -I/tmp/work/graphics/php-gd/work/.buildlink/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c -fPIC -DPIC -o .libs/gd.o --- gd_compat.lo --- b-2.0/include -I/tmp/work/graphics/php-gd/work/.buildlink/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_compat.c -fPIC -DPIC -o .libs/gd_compat.o --- gd.lo --- In file included from /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:100: /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c: In function '_php_image_output_ctx': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:188:26: error: too many arguments to function 'func_p' 188 | (*func_p)(im, ctx, q); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:194:26: error: too many arguments to function 'func_p' 194 | (*func_p)(im, ctx, q); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:197:26: error: too many arguments to function 'func_p' 197 | (*func_p)(im, ctx, q, f); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:208:34: error: too many arguments to function 'func_p' 208 | (*func_p)(im, file ? file : "", q, ctx); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:210:34: error: too many arguments to function 'func_p' 210 | (*func_p)(im, q, ctx); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:214:26: error: too many arguments to function 'func_p' 214 | (*func_p)(im, ctx); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function '_php_image_create_from_string': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2309:15: error: too many arguments to function 'ioctx_func_p' 2309 | im = (*ioctx_func_p)(io_ctx); | ~^~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefromstring': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2348:74: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2348 | im = _php_image_create_from_string(data, "JPEG", gdImageCreateFromJpegCtx TSRMLS_CC); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2298:78: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2298 | gdImagePtr _php_image_create_from_string(zval **data, char *tn, gdImagePtr (*ioctx_func_p)() TSRMLS_DC) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2357:73: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2357 | im = _php_image_create_from_string(data, "PNG", gdImageCreateFromPngCtx TSRMLS_CC); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2298:78: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2298 | gdImagePtr _php_image_create_from_string(zval **data, char *tn, gdImagePtr (*ioctx_func_p)() TSRMLS_DC) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2365:73: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2365 | im = _php_image_create_from_string(data, "GIF", gdImageCreateFromGifCtx TSRMLS_CC); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2298:78: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2298 | gdImagePtr _php_image_create_from_string(zval **data, char *tn, gdImagePtr (*ioctx_func_p)() TSRMLS_DC) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2369:74: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2369 | im = _php_image_create_from_string(data, "WBMP", gdImageCreateFromWBMPCtx TSRMLS_CC); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2298:78: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2298 | gdImagePtr _php_image_create_from_string(zval **data, char *tn, gdImagePtr (*ioctx_func_p)() TSRMLS_DC) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2373:73: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2373 | im = _php_image_create_from_string(data, "GD2", gdImageCreateFromGd2Ctx TSRMLS_CC); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2298:78: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2298 | gdImagePtr _php_image_create_from_string(zval **data, char *tn, gdImagePtr (*ioctx_func_p)() TSRMLS_DC) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function '_php_image_create_from': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2449:31: error: too many arguments to function 'ioctx_func_p' 2449 | im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height); | ~^~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2451:31: error: too many arguments to function 'ioctx_func_p' 2451 | im = (*ioctx_func_p)(io_ctx); | ~^~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2466:39: error: too many arguments to function 'func_p' 2466 | im = (*func_p)(fp, srcx, srcy, width, height); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2482:39: error: too many arguments to function 'func_p' 2482 | im = (*func_p)(fp); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefromgif': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2508:93: error: passing argument 8 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2508 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageCreateFromGif, gdImageCreateFromGifCtx); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2508:115: error: passing argument 9 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2508 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageCreateFromGif, gdImageCreateFromGifCtx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefromjpeg': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2517:94: error: passing argument 8 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2517 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_JPG, "JPEG", gdImageCreateFromJpeg, gdImageCreateFromJpegCtx); | ^~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2517:117: error: passing argument 9 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2517 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_JPG, "JPEG", gdImageCreateFromJpeg, gdImageCreateFromJpegCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefrompng': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2527:93: error: passing argument 8 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2527 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_PNG, "PNG", gdImageCreateFromPng, gdImageCreateFromPngCtx); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2527:115: error: passing argument 9 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2527 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_PNG, "PNG", gdImageCreateFromPng, gdImageCreateFromPngCtx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefromwebp': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2537:95: error: passing argument 8 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2537 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WEBP, "WEBP", gdImageCreateFromWebp, gdImageCreateFromWebpCtx); | ^~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2537:118: error: passing argument 9 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2537 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WEBP, "WEBP", gdImageCreateFromWebp, gdImageCreateFromWebpCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefromxbm': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2546:93: error: passing argument 8 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2546 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_XBM, "XBM", gdImageCreateFromXbm, NULL); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefromwbmp': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2564:94: error: passing argument 8 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2564 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP", gdImageCreateFromWBMP, gdImageCreateFromWBMPCtx); | ^~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2564:117: error: passing argument 9 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2564 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP", gdImageCreateFromWBMP, gdImageCreateFromWBMPCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefromgd': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2572:91: error: passing argument 8 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2572 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD, "GD", gdImageCreateFromGd, gdImageCreateFromGdCtx); | ^~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2572:112: error: passing argument 9 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2572 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD, "GD", gdImageCreateFromGd, gdImageCreateFromGdCtx); | ^~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefromgd2': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2580:93: error: passing argument 8 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2580 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2, "GD2", gdImageCreateFromGd2, gdImageCreateFromGd2Ctx); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2580:115: error: passing argument 9 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2580 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2, "GD2", gdImageCreateFromGd2, gdImageCreateFromGd2Ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagecreatefromgd2part': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2588:97: error: passing argument 8 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2588 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2PART, "GD2", gdImageCreateFromGd2Part, gdImageCreateFromGd2PartCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *, int, int, int, int) {aka struct gdImageStruct * (*)(FILE *, int, int, int, int)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *, int, int, int, int)' {aka 'struct gdImageStruct * (*)(FILE *, int, int, int, int)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2588:123: error: passing argument 9 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2588 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2PART, "GD2", gdImageCreateFromGd2Part, gdImageCreateFromGd2PartCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *, int, int, int, int) {aka struct gdImageStruct * (*)(struct gdIOCtx *, int, int, int, int)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2392:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *, int, int, int, int)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *, int, int, int, int)'} 2392 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function '_php_image_output': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2645:34: error: too many arguments to function 'func_p' 2645 | (*func_p)(im, fp, q); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2651:34: error: too many arguments to function 'func_p' 2651 | (*func_p)(im, i, fp); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2657:34: error: too many arguments to function 'func_p' 2657 | (*func_p)(im, fp); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2663:34: error: too many arguments to function 'func_p' 2663 | (*func_p)(im, fp, q, t); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2669:34: error: too many arguments to function 'func_p' 2669 | (*func_p)(im, fp, q, t); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2697:34: error: too many arguments to function 'func_p' 2697 | (*func_p)(im, tmp, q); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2705:34: error: too many arguments to function 'func_p' 2705 | (*func_p)(im, q, tmp); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2711:34: error: too many arguments to function 'func_p' 2711 | (*func_p)(im, tmp); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2717:34: error: too many arguments to function 'func_p' 2717 | (*func_p)(im, tmp, q, t); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2720:34: error: too many arguments to function 'func_p' 2720 | (*func_p)(im, tmp); | ~^~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagexbm': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2748:92: error: passing argument 8 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2748 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_XBM, "XBM", gdImageXbmCtx); | ^~~~~~~~~~~~~ | | | void (*)(gdImage *, char *, int, struct gdIOCtx *) {aka void (*)(struct gdImageStruct *, char *, int, struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:87:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, char *, int, struct gdIOCtx *)' {aka 'void (*)(struct gdImageStruct *, char *, int, struct gdIOCtx *)'} 87 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagegif': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2756:92: error: passing argument 8 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2756 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageGifCtx); | ^~~~~~~~~~~~~ | | | void (*)(gdImage *, struct gdIOCtx *) {aka void (*)(struct gdImageStruct *, struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:87:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, struct gdIOCtx *)' {aka 'void (*)(struct gdImageStruct *, struct gdIOCtx *)'} 87 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagepng': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2765:92: error: passing argument 8 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2765 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_PNG, "PNG", gdImagePngCtxEx); | ^~~~~~~~~~~~~~~ | | | void (*)(gdImage *, struct gdIOCtx *, int) {aka void (*)(struct gdImageStruct *, struct gdIOCtx *, int)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:87:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, struct gdIOCtx *, int)' {aka 'void (*)(struct gdImageStruct *, struct gdIOCtx *, int)'} 87 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagewebp': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2776:94: error: passing argument 8 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2776 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WEBP, "WEBP", gdImageWebpCtx); | ^~~~~~~~~~~~~~ | | | void (*)(gdImage *, struct gdIOCtx *, int) {aka void (*)(struct gdImageStruct *, struct gdIOCtx *, int)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:87:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, struct gdIOCtx *, int)' {aka 'void (*)(struct gdImageStruct *, struct gdIOCtx *, int)'} 87 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagejpeg': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2787:93: error: passing argument 8 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2787 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_JPG, "JPEG", gdImageJpegCtx); | ^~~~~~~~~~~~~~ | | | void (*)(gdImage *, struct gdIOCtx *, int) {aka void (*)(struct gdImageStruct *, struct gdIOCtx *, int)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:87:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, struct gdIOCtx *, int)' {aka 'void (*)(struct gdImageStruct *, struct gdIOCtx *, int)'} 87 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagewbmp': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2796:93: error: passing argument 8 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2796 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP", gdImageWBMPCtx); | ^~~~~~~~~~~~~~ | | | void (*)(gdImage *, int, struct gdIOCtx *) {aka void (*)(struct gdImageStruct *, int, struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_ctx.c:87:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, int, struct gdIOCtx *)' {aka 'void (*)(struct gdImageStruct *, int, struct gdIOCtx *)'} 87 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagegd': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2804:86: error: passing argument 8 of '_php_image_output' from incompatible pointer type [-Wincompatible-pointer-types] 2804 | _php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD, "GD", gdImageGd); | ^~~~~~~~~ | | | void (*)(gdImage *, FILE *) {aka void (*)(struct gdImageStruct *, FILE *)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2594:94: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, FILE *)' {aka 'void (*)(struct gdImageStruct *, FILE *)'} 2594 | static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_imagegd2': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2812:88: error: passing argument 8 of '_php_image_output' from incompatible pointer type [-Wincompatible-pointer-types] 2812 | _php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2, "GD2", gdImageGd2); | ^~~~~~~~~~ | | | void (*)(gdImage *, FILE *, int, int) {aka void (*)(struct gdImageStruct *, FILE *, int, int)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2594:94: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, FILE *, int, int)' {aka 'void (*)(struct gdImageStruct *, FILE *, int, int)'} 2594 | static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ --- gd_compat.lo --- libtool: compile: gcc -std=gnu23 -I/tmp/work/graphics/php-gd/work/.buildlink/include -I. -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6 -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/TSRM -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/Zend -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/ext -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/5.6/ext/date/lib -I/tmp/work/graphics/php-gd/work/.buildlink/include/freetype2 -I/tmp/work/graphics/php-gd/work/.buildlink/include/libpng16 -I/tmp/work/graphics/php-gd/work/.buildlink/include/harfbuzz -I/tmp/work/graphics/php-gd/work/.buildlink/include/glib-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/include/gio-unix-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/lib/glib-2.0/include -I/tmp/work/graphics/php-gd/work/.buildlink/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd_compat.c -o gd_compat.o >/dev/null 2>&1 --- gd.lo --- /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c: In function 'zif_image2wbmp': /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:4404:92: error: passing argument 8 of '_php_image_output' from incompatible pointer type [-Wincompatible-pointer-types] 4404 | _php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_CONVERT_WBM, "WBMP", _php_image_bw_convert); | ^~~~~~~~~~~~~~~~~~~~~ | | | void (*)(gdImage *, gdIOCtx *, int) {aka void (*)(struct gdImageStruct *, gdIOCtx *, int)} /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd/gd.c:2594:94: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, gdIOCtx *, int)' {aka 'void (*)(struct gdImageStruct *, gdIOCtx *, int)'} 2594 | static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ *** [gd.lo] Error code 1 bmake: stopped making "all" in /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd bmake: 1 error bmake: stopped making "all" in /tmp/work/graphics/php-gd/work/php-5.6.40/ext/gd *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/php-gd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/php-gd