[MacPorts] #65002: inkscape @1.1.2_2: error: no matching function for call to 'isnan'

MacPorts noreply at macports.org
Thu Apr 14 00:23:25 UTC 2022


#65002: inkscape @1.1.2_2: error: no matching function for call to 'isnan'
-----------------------+----------------------
  Reporter:  ngwood    |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.2
Resolution:            |   Keywords:
      Port:  inkscape  |
-----------------------+----------------------

Comment (by ryandesign):

 This was previously reported in #64711 but it was closed as invalid for
 some reason.

 I see from your log that you have Xcode 10.1 and Apple Clang 1000.11.45.5,
 which are the latest version for High Sierra.

 `std::isnan` is a C++11 feature. I see from your log that the
 `-std=gnu++17` flag is present, so that should be sufficient.

 Maybe a required header isn't being included? `std::isnan` is defined in
 <cmath>. If `#include <cmath>` doesn't appear in the affect source file,
 try adding that.

 We don't see the problem on the High Sierra buildbot worker but it has
 Xcode 9.4.1 which I guess isn't new enough to support C++17 so the build
 is using MacPorts Clang 13 instead.

 I didn't see an issue reported about this upstream:
 https://gitlab.com/inkscape/inkscape/-/issues; maybe someone could file
 one.

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


More information about the macports-tickets mailing list