[MacPorts] #73520: h4h5tools @2.2.3: error: incompatible function pointer types
MacPorts
noreply at macports.org
Mon Jul 6 16:26:26 UTC 2026
#73520: h4h5tools @2.2.3: error: incompatible function pointer types
--------------------------+--------------------
Reporter: AgilentGCMS | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.1
Resolution: | Keywords:
Port: h4h5tools |
--------------------------+--------------------
Comment (by TBird2001):
In Clang 16, LLVM changed the default diagnostic for mismatched function-
pointer types in C from a warning to an error. I think trying to fix this
through MacPorts would result in a huge number of patches, as there is
kind of a snowball effect of mismatched types. Anyway, a workaround for
now is to turn off that diagnostic completely when building:
{{{
sudo port install h4h5tools configure.cflags="-Wno-incompatible-function-
pointer-types"
}}}
This is a pretty heavy-handed fix, but it should allow the package to be
built for the time being.
--
Ticket URL: <https://trac.macports.org/ticket/73520#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list