[MacPorts] #69758: 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);

MacPorts noreply at macports.org
Wed Apr 17 02:56:54 UTC 2024


#69758: 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);
--------------------+--------------------
 Reporter:  dbl001  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.9.3
 Keywords:          |       Port:  php81
--------------------+--------------------
 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
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69758>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list