Opened 5 weeks ago

Last modified 5 weeks ago

#62419 assigned defect

elftoolchain @0.7.1: error: implicit declaration of function 'htole32' is invalid in C99

Reported by: cooljeanius (Eric Gallager) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: elftoolchain

Description

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

Attachments (1)

elftoolchainmain.log (397.8 KB) - added by cooljeanius (Eric Gallager) 5 weeks ago.
main.log for elftoolchain

Download all attachments as: .zip

Change History (2)

Changed 5 weeks ago by cooljeanius (Eric Gallager)

Attachment: elftoolchainmain.log added

main.log for elftoolchain

comment:1 Changed 5 weeks ago by mf2k (Frank Schima)

Cc: raimue removed
Owner: set to raimue
Status: newassigned
Note: See TracTickets for help on using tickets.