[MacPorts] #64506: rubberband @2.0.1: error: 'TARGET_OS_IPHONE' is not defined (was: Unable to Upgrade rubberband port on Lion -- error: 'TARGET_OS_IPHONE' is not defined)
MacPorts
noreply at macports.org
Mon Jan 24 13:46:43 UTC 2022
#64506: rubberband @2.0.1: error: 'TARGET_OS_IPHONE' is not defined
-------------------------+------------------------
Reporter: RobK88 | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: lion
Port: rubberband |
-------------------------+------------------------
Changes (by ryandesign):
* owner: (none) => ryandesign
* cc: ryandesign@… (removed)
* status: new => accepted
Comment:
Oh joy. Well this is because MacPorts changed to using a newer fallback
compiler by default, and newer clang treats this condition as an error.
It sounds like one is supposed to `#include <TargetConditionals.h>` before
checking `TARGET_OS_` constants. I'll see what I can do.
--
Ticket URL: <https://trac.macports.org/ticket/64506#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list