[MacPorts] #62419: elftoolchain @0.7.1: error: implicit declaration of function 'htole32' is invalid in C99
MacPorts
noreply at macports.org
Wed Mar 10 04:23:53 UTC 2021
#62419: elftoolchain @0.7.1: error: implicit declaration of function 'htole32' is
invalid in C99
-----------------------------+--------------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: bigsur catalina | Port: elftoolchain
-----------------------------+--------------------------
Another victim of `-Werror=implicit-function-declaration` being on by
default now:
{{{
--- libpe_dos.po ---
libpe_dos.c:122:6: error: implicit declaration of function 'htole32' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
htole32(pe_magic) != PE_SIGNATURE) {
^
1 error generated.
*** [libpe_dos.po] Error code 1
bmake[1]: stopped in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_elftoolchain/elftoolchain/work/elftoolchain-0.7.1/libpe
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62419>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list