[MacPorts] #67227: xmlsec @1.3.0: error: a function declaration without a prototype is deprecated in all versions of C

MacPorts noreply at macports.org
Thu Apr 13 06:56:07 UTC 2023


#67227: xmlsec @1.3.0: error: a function declaration without a prototype is
deprecated in all versions of C
-----------------------+-------------------------
  Reporter:  kwolcott  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  xmlsec    |
-----------------------+-------------------------

Comment (by ryandesign):

 This is a new error as of clang 15. We don't see the problem on our
 buildbot workers because we don't use the newest version of Xcode on the
 macOS 13 builder.

 If `-Werror` had not been used, it would just be a warning, not an error;
 it's recommended not to use `-Werror` in ports for reasons such as these
 (new compilers being stricter than older ones).

 I don't see any attempt in the log to fetch our binaries, so perhaps you
 forced a build from source? If you allow our binaries to be used, you
 won't encounter this error.

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


More information about the macports-tickets mailing list