[MacPorts] #69624: mbedtls3 @3.6.0 uses wrong number of args to memcpy: error: macro "memcpy" requires 3 arguments, but only 2 given
MacPorts
noreply at macports.org
Sat Mar 30 15:09:01 UTC 2024
#69624: mbedtls3 @3.6.0 uses wrong number of args to memcpy: error: macro "memcpy"
requires 3 arguments, but only 2 given
---------------------------+-------------------------
Reporter: barracuda156 | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords:
Port: mbedtls3 |
---------------------------+-------------------------
Comment (by kencu):
the definition of memcpy changed from this
https://github.com/alexey-lysiuk/macos-
sdk/blob/2e3a0a902a4d8e641d44224ef2860a4f1ebfd9d7/MacOSX10.11.sdk/usr/include/secure/_string.h#L63
to this
https://github.com/alexey-lysiuk/macos-
sdk/blob/2e3a0a902a4d8e641d44224ef2860a4f1ebfd9d7/MacOSX10.13.sdk/usr/include/secure/_string.h#L61
and the second definition seems more lax on the number of arguments…
Not sure how it can ever be right to call memcpy with 2 args though…
wonder why they loosened up on that?
--
Ticket URL: <https://trac.macports.org/ticket/69624#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list