Opened 5 years ago

Closed 5 years ago

#59545 closed defect (fixed)

sequelpro-devel: error: use of undeclared identifier 'NSEventModifierFlagCommand', 'NSEventModifierFlagOption'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: amake (Aaron Madlon-Kay)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: sequelpro-devel

Description

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.

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.

Change History (1)

comment:1 Changed 5 years ago by Aaron Madlon-Kay <amake@…>

Resolution: fixed
Status: assignedclosed

In bf0c3d48f24d4e7185a2c62ca6d3c00745de82c3/macports-ports (master):

sequelpro-devel: correct minimum OS, Xcode versions

10.6 is the deployment target, but building requires the 10.12 SDK or
later (available on 10.11 in Xcode 8)

Fixes #59545

Note: See TracTickets for help on using tickets.