[MacPorts] #69758: php81 @8.1.28: 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); (was: 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 03:36:58 UTC 2024


#69758: php81 @8.1.28: 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:  ryandesign
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.9.3
Resolution:          |   Keywords:
      Port:  php81   |
---------------------+------------------------
Changes (by ryandesign):

 * owner:  (none) => ryandesign
 * status:  new => assigned


Old 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
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> }}}

New 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
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 }}}

--

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


More information about the macports-tickets mailing list