[MacPorts] #66978: LegacySupport messes up isnan with GCC (and isinfinity): error: 'isnan' was not declared in this scope; did you mean 'std::isnan' (was: ImageMagick headers conflict with LegacySupport? magick-type.h: error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?)
MacPorts
noreply at macports.org
Tue Feb 28 10:23:14 UTC 2023
#66978: LegacySupport messes up isnan with GCC (and isinfinity): error: 'isnan' was
not declared in this scope; did you mean 'std::isnan'
----------------------------+------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: legacysupport |
----------------------------+------------------------
Changes (by barracuda156):
* port: ImageMagick => legacysupport
Comment:
Okay, I am pretty sure it is `LegacySupport` messing up something. See:
https://stackoverflow.com/questions/39130040/cmath-hides-isnan-in-
math-h-in-c14-c11
--
Ticket URL: <https://trac.macports.org/ticket/66978#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list