[MacPorts] #69838: legacy-support: stpncpy: error: expected parameter declarator

MacPorts noreply at macports.org
Sat Apr 27 06:19:15 UTC 2024


#69838: legacy-support: stpncpy: error: expected parameter declarator
---------------------------------------+----------------------
  Reporter:  ryandesign                |      Owner:  mascguy
      Type:  defect                    |     Status:  assigned
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.9.3
Resolution:                            |   Keywords:
      Port:  legacy-support, R-nloptr  |
---------------------------------------+----------------------

Comment (by fhgwright):

 I suppose, in principle, that any simple (i.e., not playing any funny
 games) declarations in the `legacy-support` headers would be more
 appropriately conditioned on the SDK version rather than the target OS
 version, but `stpncpy()` is not unique in basing it on the deployment
 target.  In particular, the preexisting `strnlen()`, `strndup()`, and
 `memmem()` are all handled in exactly the same way, including the exact
 same OS condition.

 Is `R-nloptr` somehow forcing the 10.7 SDK for the express purpose of
 getting `stpncpy()`?

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


More information about the macports-tickets mailing list