[MacPorts] #67258: curl @8.0.1_0+ares+darwinssl+http2+openldap+rtmp+sftp_scp: WimplicitFunctionDeclaration: getpass_r memrchr CloseSocket closesocket
MacPorts
noreply at macports.org
Mon Apr 17 17:28:13 UTC 2023
#67258: curl @8.0.1_0+ares+darwinssl+http2+openldap+rtmp+sftp_scp:
WimplicitFunctionDeclaration: getpass_r memrchr CloseSocket closesocket
----------------------+------------------------
Reporter: ddissett | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port:
----------------------+------------------------
configuring:: curl @8.0.1_0+ares+darwinssl+http2+openldap+rtmp+sftp_scp
macOS:: 10.14.6 (darwin/18.7.0) arch i386
MacPorts:: 2.8.1
Xcode:: 11.3.1, CLT 10.3.0.0.1.1562985497 SDK: 10.14
MACOSX_DEPLOYMENT_TARGET: 10.14
produces the following ominous warning:
{{{
:warn:configure Configuration logfiles contain indications of -Wimplicit-
function-declaration; check that features were not accidentally disabled:
:msg:configure getpass_r: found in curl-8.0.1/config.log
:msg:configure memrchr: found in curl-8.0.1/config.log
:msg:configure CloseSocket: found in curl-8.0.1/config.log
:msg:configure closesocket: found in curl-8.0.1/config.log
}}}
I believe all four implicit decls warnings are false alarms and the checks
should fail with or without the implicit decls:
* The only references to getpass_r and memrchr I could find on my box
were in MacPorts or code I'd cloned from GitHub.
* Google Search says [Cc]lose[Ss]ocket is how you close a socket in
WinSock instead of close() like the rest of the world.
--
Ticket URL: <https://trac.macports.org/ticket/67258>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list