Opened 13 months ago

Last modified 13 months ago

#67258 assigned defect

curl @8.0.1_0+ares+darwinssl+http2+openldap+rtmp+sftp_scp: WimplicitFunctionDeclaration: getpass_r memrchr CloseSocket closesocket

Reported by: ddissett (daniel dissett) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: curl

Description

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.

Attachments (2)

main.log (535.7 KB) - added by ddissett (daniel dissett) 13 months ago.
config.log (412.6 KB) - added by ddissett (daniel dissett) 13 months ago.

Download all attachments as: .zip

Change History (3)

Changed 13 months ago by ddissett (daniel dissett)

Attachment: main.log added

Changed 13 months ago by ddissett (daniel dissett)

Attachment: config.log added

comment:1 Changed 13 months ago by jmroot (Joshua Root)

Port: curl added
Note: See TracTickets for help on using tickets.