[MacPorts] #61032: udunits2: error: implicitly declaring library function 'strdup' with type 'char *(const char *)' [-Werror, -Wimplicit-function-declaration]
MacPorts
noreply at macports.org
Sat Sep 19 15:16:18 UTC 2020
#61032: udunits2: error: implicitly declaring library function 'strdup' with type
'char *(const char *)' [-Werror,-Wimplicit-function-declaration]
------------------------------+----------------------
Reporter: caseyyoungflesh | Owner: tenomoto
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: fixed | Keywords:
Port: udunits2 |
------------------------------+----------------------
Comment (by jmroot):
Implicit declaration has been invalid since C99, and will cause actual ABI
breakage on arm64. The only viable fix is to add a function prototype
before the function is called.
--
Ticket URL: <https://trac.macports.org/ticket/61032#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list