[MacPorts] #69776: php74-apache2handler @7.4.33: 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] (was: php74-apache2handler: 404 errors)
MacPorts
noreply at macports.org
Thu Apr 18 16:26:56 UTC 2024
#69776: php74-apache2handler @7.4.33: 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]
-----------------------------------+------------------------
Reporter: kcaporaso | Owner: ryandesign
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: duplicate | Keywords:
Port: php74-apache2handler |
-----------------------------------+------------------------
Changes (by ryandesign):
* status: assigned => closed
* resolution: => duplicate
Comment:
The real error in the log is:
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_php/php74-apache2handler/work/php-7.4.33/ext/libxml/libxml.c:1050: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]
xmlSetStructuredErrorFunc(NULL,
php_libxml_structured_error_handler);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/include/libxml2/libxml/xmlerror.h:898:29: note: passing
argument to parameter 'handler' here
xmlStructuredErrorFunc handler);
^
}}}
Duplicate of #69758.
--
Ticket URL: <https://trac.macports.org/ticket/69776#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list