[MacPorts] #67499: libssh @0.10.4_0+kerberos5+universal: error: a function declaration without a prototype is deprecated in all versions of C [-Werror, -Wstrict-prototypes]

MacPorts noreply at macports.org
Thu May 25 21:45:41 UTC 2023


#67499: libssh @0.10.4_0+kerberos5+universal: error: a function declaration without
a prototype is deprecated in all versions of C [-Werror,-Wstrict-
prototypes]
-------------------------+----------------------
  Reporter:  ashterenli  |      Owner:  Ionic
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  libssh      |
-------------------------+----------------------

Comment (by jmroot):

 Replying to [comment:1 ryandesign]:
 > However, Xcode 12 and later consider [wiki:WimplicitFunctionDeclaration
 implicit declaration of functions] to be an error even without `-Werror`,
 and it looks like Xcode 14.3 may have become even more picky about this
 kind of thing. The code will need to be fixed.

 This is indeed because of the same arm64 ABI issues. Declaring a function
 without information on how many and what types of args it takes is just as
 bad as not declaring it.

-- 
Ticket URL: <https://trac.macports.org/ticket/67499#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list