[MacPorts] #59545: sequelpro-devel: error: use of undeclared identifier 'NSEventModifierFlagCommand', 'NSEventModifierFlagOption'
MacPorts
noreply at macports.org
Thu Oct 31 08:27:07 UTC 2019
#59545: sequelpro-devel: error: use of undeclared identifier
'NSEventModifierFlagCommand', 'NSEventModifierFlagOption'
------------------------+-----------------------------
Reporter: ryandesign | Owner: amake
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: sequelpro-devel
------------------------+-----------------------------
[https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/101417/steps
/install-port/logs/stdio sequelpro-devel fails to build on 10.10] and
earlier:
{{{
/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_aqua_sequelpro-devel
/sequelpro-devel/work/sequelpro-sequelpro-
f0987c5/Frameworks/PSMTabBar/PSMTabBarCell.m:204:167: error: use of
undeclared identifier 'NSEventModifierFlagCommand'
return (_closeButtonOver && ([_customControlView
allowsBackgroundTabClosing] || ([self tabState] & PSMTab_SelectedMask) ||
[[NSApp currentEvent] modifierFlags] & NSEventModifierFlagCommand));
^
/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_aqua_sequelpro-devel
/sequelpro-devel/work/sequelpro-sequelpro-
f0987c5/Frameworks/PSMTabBar/PSMTabBarCell.m:389:74: error: use of
undeclared identifier 'NSEventModifierFlagOption'
if ([_customControlView allowsScrubbing] && ([theEvent
modifierFlags] & NSEventModifierFlagOption))
^
2 errors generated.
}}}
[https://developer.apple.com/documentation/appkit/nseventmodifierflags/nseventmodifierflagcommand?language=objc
Apple documentation] shows that NSEventModifierFlagCommand first appeared
in the macOS 10.12 SDK.
It built ok on our 10.11 builder because we are using Xcode 8 there which
contains the 10.12 SDK.
--
Ticket URL: <https://trac.macports.org/ticket/59545>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list