Opened 7 months ago
Closed 5 months ago
#69758 closed defect (fixed)
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]
Reported by: | dbl001 (dbl) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | kcaporaso (Kevin Caporaso), chrisminett (Chris Minett) | |
Port: | php81 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attachments (1)
Change History (8)
Changed 7 months ago by dbl001 (dbl)
comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | set to ryandesign |
Status: | new → assigned |
Summary: | 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); → 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); |
comment:2 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | 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); → 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] |
---|
comment:3 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | kcaporaso added |
---|
Has duplicate #69776 for php74. Likely all versions before php82 are affected.
comment:5 Changed 7 months ago by kcaporaso (Kevin Caporaso)
@ryandesign, you're awesome! Thanks for keeping up with everything.
comment:6 Changed 6 months ago by chrisminett (Chris Minett)
Cc: | chrisminett added |
---|
comment:7 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
https://github.com/php/php-src/issues/12965