[MacPorts] #64593: hugin-app-2019.2.0_4+accelerate+python39: error: implicitly declaring library function 'finite' with type 'int (double)' (was: hugin-app-2019.2.0_4+accelerate+python39: build failure on macOS 12.2 arm64)

MacPorts noreply at macports.org
Thu Feb 3 01:13:41 UTC 2022


#64593: hugin-app-2019.2.0_4+accelerate+python39: error: implicitly declaring
library function 'finite' with type 'int (double)'
-------------------------+--------------------------------------
  Reporter:  bal-agates  |      Owner:  (none)
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:  duplicate   |   Keywords:  catalina bigsur monterey
      Port:  hugin-app   |
-------------------------+--------------------------------------
Changes (by ryandesign):

 * keywords:  hugin build finite => catalina bigsur monterey
 * status:  new => closed
 * resolution:   => duplicate


Comment:

 `finite` is an ancient (pre-C99) system function. It was replaced in C99
 with `isfinite`. Whichever hugin wants to use, it should include the
 system header that defines it. Defining your own prototypes for system
 functions doesn't seem like a good idea to me, besides being more work
 than just including the right header.


 Duplicate of #62445.

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


More information about the macports-tickets mailing list