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

MacPorts noreply at macports.org
Fri Jul 12 21:31:22 UTC 2024


#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):

 Replying to [comment:5 barracuda156]:
 > Replying to [comment:4 fhgwright]:
 > > BTW, the link that Ken posted is to the current `master` version,
 which already has the `1849c3a` fix applied.
 >
 > I have the latest version installed already:
 > {{{
 > legacy-support-devel @20240630_0 (active) requested_variants=''
 platform='darwin 10' archs='ppc' date='2024-07-01T18:51:36+0800'
 > }}}

 In that case it's not the known missing-include bug.  The next thing I'd
 check is that the `legacy-support` includes are happening ''before'' the
 OS includes.  In the other order, the OS headers would shadow the `legacy-
 support` headers, rendering them inoperative.

 In the particular case of `math.h`, there might be an additional
 complication regarding headers supplied by the compiler.

 When all else fails, try `cc -E`.

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


More information about the macports-tickets mailing list