[MacPorts] #70351: legacy-support implementation of sincos does not work correctly: implicit declaration of function 'sincos'

MacPorts noreply at macports.org
Sun Jan 26 01:00:15 UTC 2025


#70351: legacy-support implementation of sincos does not work correctly: implicit
declaration of function 'sincos'
-----------------------------+--------------------
  Reporter:  barracuda156    |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.9.3
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+--------------------

Comment (by fhgwright):

 One other thing worth mentioning is that, since Apple never directly
 provides `sincos` by that name, if the project is using the function by
 that name on ''any'' OS version, then it must have code somewhere that
 maps `sincos` to `__sincos`.  If that code is conditioned on the existence
 of `__sincos` ''and'' it's not built with `legacy-support` headers, then
 it won't work.  It's important to ensure that the appropriate `legacy-
 support` flags are passed to `configure` as well as `build`.

 Maybe this is a duplicate of issue #70352 after all.

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


More information about the macports-tickets mailing list