Opened 7 months ago

Last modified 5 months ago

#69758 closed defect

error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types] :info:build xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler); — at Initial Version

Reported by: dbl001 (dbl) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: php81

Description

Building php81 on MacOS Sonoma 14.4.1

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php81/work/php-8.1.28/ext/libxml/libxml.c:999:35: error: incompatible function pointer types passing 'void (void *, xmlErrorPtr)' (aka 'void (void *, struct _xmlError *)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *, const struct _xmlError *)') [-Wincompatible-function-pointer-types]
:info:build                 xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler);
:info:build                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Change History (1)

Changed 7 months ago by dbl001 (dbl)

Attachment: main.log added
Note: See TracTickets for help on using tickets.