gawk-gd 1.0.3 fails to build on macOS 26:
gd.c:644:29: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
644 | { "gdImageCreateFromFile", do_gdImageCreateFromFile, 1 },
| ^~~~~~~~~~~~~~~~~~~~~~~~
gd.c:644:57: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
644 | { "gdImageCreateFromFile", do_gdImageCreateFromFile, 1 },
| ^
gd.c:645:22: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
645 | { "gdImageDestroy", do_gdImageDestroy, 1 },
| ^~~~~~~~~~~~~~~~~
gd.c:645:43: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
645 | { "gdImageDestroy", do_gdImageDestroy, 1 },
| ^
gd.c:646:30: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
646 | { "gdImageCreateTrueColor", do_gdImageCreateTrueColor, 2 },
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gd.c:646:59: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
646 | { "gdImageCreateTrueColor", do_gdImageCreateTrueColor, 2 },
| ^
gd.c:647:28: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
647 | { "gdImageCopyResampled", do_gdImageCopyResampled, 10 },
| ^~~~~~~~~~~~~~~~~~~~~~~
gd.c:647:56: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
647 | { "gdImageCopyResampled", do_gdImageCopyResampled, 10 },
| ^
gd.c:648:22: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
648 | { "gdImagePngName", do_gdImagePngName, 2 },
| ^~~~~~~~~~~~~~~~~
gd.c:648:43: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
648 | { "gdImagePngName", do_gdImagePngName, 2 },
| ^
gd.c:649:23: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
649 | { "gdImageStringFT", do_gdImageStringFT, 9 },
| ^~~~~~~~~~~~~~~~~~
gd.c:649:45: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
649 | { "gdImageStringFT", do_gdImageStringFT, 9 },
| ^
gd.c:650:29: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
650 | { "gdImageStringFTCircle", do_gdImageStringFTCircle, 11 },
| ^~~~~~~~~~~~~~~~~~~~~~~~
gd.c:650:58: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
650 | { "gdImageStringFTCircle", do_gdImageStringFTCircle, 11 },
| ^
gd.c:651:28: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
651 | { "gdImageColorAllocate", do_gdImageColorAllocate, 4 },
| ^~~~~~~~~~~~~~~~~~~~~~~
gd.c:651:55: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
651 | { "gdImageColorAllocate", do_gdImageColorAllocate, 4 },
| ^
gd.c:653:30: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
653 | { "gdImageFilledRectangle", do_gdImageFilledRectangle, 6 },
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gd.c:653:59: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
653 | { "gdImageFilledRectangle", do_gdImageFilledRectangle, 6 },
| ^
gd.c:654:24: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
654 | { "gdImageRectangle", do_gdImageRectangle, 6 },
| ^~~~~~~~~~~~~~~~~~~
gd.c:654:47: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
654 | { "gdImageRectangle", do_gdImageRectangle, 6 },
| ^
gd.c:655:38: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
655 | { "gdImageSetAntiAliasedDontBlend", do_gdImageSetAntiAliasedDontBlend, 3 },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gd.c:655:75: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
655 | { "gdImageSetAntiAliasedDontBlend", do_gdImageSetAntiAliasedDontBlend, 3 },
| ^
gd.c:656:27: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
656 | { "gdImageSetThickness", do_gdImageSetThickness, 2 },
| ^~~~~~~~~~~~~~~~~~~~~~
gd.c:656:53: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
656 | { "gdImageSetThickness", do_gdImageSetThickness, 2 },
| ^
gd.c:657:17: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
657 | { "gdImageSX", do_gdImageSX, 1 },
| ^~~~~~~~~~~~
gd.c:657:33: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
657 | { "gdImageSX", do_gdImageSX, 1 },
| ^
gd.c:658:17: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
658 | { "gdImageSY", do_gdImageSY, 1 },
| ^~~~~~~~~~~~
gd.c:658:33: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
658 | { "gdImageSY", do_gdImageSY, 1 },
| ^
gd.c:659:22: error: incompatible function pointer types initializing 'awk_value_t *(*const)(int, awk_value_t *, struct awk_ext_func *)' (aka 'struct awk_value *(*const)(int, struct awk_value *, struct awk_ext_func *)') with an expression of type 'awk_value_t *(int, awk_value_t *)' (aka 'struct awk_value *(int, struct awk_value *)') [-Wincompatible-function-pointer-types]
659 | { "gdImageCompare", do_gdImageCompare, 2 },
| ^~~~~~~~~~~~~~~~~
gd.c:659:43: warning: missing field 'min_required_args' initializer [-Wmissing-field-initializers]
659 | { "gdImageCompare", do_gdImageCompare, 2 },
| ^
17 warnings and 15 errors generated.
make[2]: *** [gd.lo] Error 1