src/video/cocoa/event.mm:267:22: warning: 'NSShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (_current_mods & NSShiftKeyMask) key |= WKC_SHIFT; ^~~~~~~~~~~~~~ NSEventModifierFlagShift /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:182:35: note: 'NSShiftKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagShift"... ^ src/video/cocoa/event.mm:268:22: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (_current_mods & NSControlKeyMask) key |= (_settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? ... ^~~~~~~~~~~~~~~~ NSEventModifierFlagControl /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl... ^ src/video/cocoa/event.mm:269:22: warning: 'NSAlternateKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (_current_mods & NSAlternateKeyMask) key |= WKC_ALT; ^~~~~~~~~~~~~~~~~~ NSEventModifierFlagOption /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:35: note: 'NSAlternateKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSAlternateKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagOption"... ^ src/video/cocoa/event.mm:270:22: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (_current_mods & NSCommandKeyMask) key |= (_settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? ... ^~~~~~~~~~~~~~~~ NSEventModifierFlagCommand /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/event.mm:289:33: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (down && (_current_mods & NSCommandKeyMask)) { ^~~~~~~~~~~~~~~~ NSEventModifierFlagCommand /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/event.mm:295:60: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) { ^~~~~~~~~~~~~~~~ NSEventModifierFlagCommand /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/event.mm:295:79: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) { ^~~~~~~~~~~~~~~~ NSEventModifierFlagControl /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl... ^ src/video/cocoa/event.mm:300:60: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) { ^~~~~~~~~~~~~~~~ NSEventModifierFlagCommand /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/event.mm:300:79: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) { ^~~~~~~~~~~~~~~~ NSEventModifierFlagControl /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl... ^ src/video/cocoa/wnd_quartz.mm:281:24: warning: 'NSTitledWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] unsigned int style = NSTitledWindowMask; ^~~~~~~~~~~~~~~~~~ NSWindowStyleMaskTitled /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:953:32: note: 'NSTitledWindowMask' has been explicitly marked deprecated here static const NSWindowStyleMask NSTitledWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskTitled", macosx(10.0... ^ src/video/cocoa/wnd_quartz.mm:282:13: warning: 'NSMiniaturizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] style |= (NSMiniaturizableWindowMask | NSClosableWindowMask); ^~~~~~~~~~~~~~~~~~~~~~~~~~ NSWindowStyleMaskMiniaturizable /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:955:32: note: 'NSMiniaturizableWindowMask' has been explicitly marked deprecated here static const NSWindowStyleMask NSMiniaturizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskMiniaturizabl... ^ src/video/cocoa/wnd_quartz.mm:282:42: warning: 'NSClosableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]src/video/cocoa/event.mm: 343:33: warning: 'NSAlphaShiftKeyMask' is deprecated: first style |= (NSMiniaturizableWindowMask | NSClosableWindowMask); deprecated ^~~~~~~~~~~~~~~~~~~~in macOS NSWindowStyleMaskClosable10.12 [-Wdeprecated-declarations] /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:954:32: note: 'NSClosableWindowMask' has been explicitly for (unsigned int i = 0, bit = NSAlphaShiftKeyMask; bit <= NSCommandKeyMask; bit <<= 1, ++i) { marked ^~~~~~~~~~~~~~~~~~~deprecated here NSEventModifierFlagCapsLock static const NSWindowStyleMask NSClosableWindowMask API_DEPRECATED/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:35: note: 'NSAlphaShiftKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSAlphaShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLoc... ^ _WITH_REPLACEMENT("NSWindowStyleMaskClosable", macosx(1... ^ src/video/cocoa/event.mm:343:61: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] src/video/cocoa/wnd_quartz.mm:283:12: warning: 'NSResizableWindowMask' is deprecated: for (unsigned int i = 0, bit = NSAlphaShiftKeyMask; bit <= NSCommandKeyMask; bit <<= 1, ++i) { first ^~~~~~~~~~~~~~~~deprecated in NSEventModifierFlagCommandmacOS 10.12 [-Wdeprecated-declarations] /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185: style |= NSResizableWindowMask; ^~~~~~~~~~~~~~~~~~~~~ NSWindowStyleMaskResizable /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h35:956:: 32: notenote: 'NSResizableWindowMask' has been explicitly marked deprecated here static const NSWindowStyleMask NSResizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskResizable", macosx... ^ : 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/wnd_quartz.mm:314:69: warning: 'NSWindowFullScreenButton' is deprecated: src/video/cocoa/event.mmfirst: 351deprecated: 15in: macOS 10.12warning : - The'NSAlphaShiftKeyMask' standardis windowdeprecated: buttonfirst for deprecatedNSWindowFullScreenButton inis macOSalways 10.12nil; [-Wdeprecated-declarations]use NSWindowZoomButton instead [-Wdeprecated-declarations] if (bit == NSAlphaShiftKeyMask) QZ_KeyEvent(mapping[i], 0, YES); ^~~~~~~~~~~~~~~~~~~ NSEventModifierFlagCapsLock NSButton* fullscreenButton = [ this->window standardWindowButton:NSWindowFullScreenButton ]; ^ /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h35::168 :5:note : 'NSAlphaShiftKeyMask'note : has 'NSWindowFullScreenButton'been hasexplicitly beenmarked explicitly deprecatedmarked here deprecated here static const NSEventModifierFlags NSAlphaShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLoc... NSWindowFullScreenButton NS_ENUM_DEPRECATED_MAC(10_7, 10_12, "The standard window button for NSWindowFullScreenButto... ^ ^ src/video/cocoa/event.mm:356:15: warning: 'NSAlphaShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (bit == NSAlphaShiftKeyMask) QZ_KeyEvent(mapping[i], 0, NO); ^~~~~~~~~~~~~~~~~~~ NSEventModifierFlagCapsLock /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:35: note: 'NSAlphaShiftKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSAlphaShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLoc... ^ src/video/cocoa/event.mm:407:49: warning: 'NSAnyEventMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] NSEvent *event = [ NSApp nextEventMatchingMask:NSAnyEventMask ^~~~~~~~~~~~~~ NSEventMaskAny /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked deprecated here static const NSEventMask NSAnyEventMask API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macosx(10.0, 10... ^ src/video/cocoa/event.mm:425:8: warning: 'NSMouseMoved' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSMouseMoved: ^~~~~~~~~~~~ NSEventTypeMouseMoved /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:69:26: note: 'NSMouseMoved' has been explicitly marked deprecated here static const NSEventType NSMouseMoved API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseMoved", macosx(10.0, 10.... ^ src/video/cocoa/event.mm:426:8: warning: 'NSOtherMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSOtherMouseDragged: ^~~~~~~~~~~~~~~~~~~ NSEventTypeOtherMouseDragged /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:87:26: note: 'NSOtherMouseDragged' has been explicitly marked deprecated here static const NSEventType NSOtherMouseDragged API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseDragged", macosx(10... ^ src/video/cocoa/event.mm:427:8: warning: 'NSLeftMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSLeftMouseDragged: ^~~~~~~~~~~~~~~~~~ NSEventTypeLeftMouseDragged /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:70:26: note: 'NSLeftMouseDragged' has been explicitly marked deprecated here static const NSEventType NSLeftMouseDragged API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDragged", macosx(10.... ^ src/video/cocoa/event.mm:437:8: warning: 'NSRightMouseDragged' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSRightMouseDragged: ^~~~~~~~~~~~~~~~~~~ NSEventTypeRightMouseDragged /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:71:26: note: 'NSRightMouseDragged' has been explicitly marked deprecated here static const NSEventType NSRightMouseDragged API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDragged", macosx(10... ^ src/video/cocoa/event.mm:442:8: warning: 'NSLeftMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSLeftMouseDown: ^~~~~~~~~~~~~~~ NSEventTypeLeftMouseDown /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:65:26: note: 'NSLeftMouseDown' has been explicitly marked deprecated here static const NSEventType NSLeftMouseDown API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDown", macosx(10.0, ... ^ src/video/cocoa/event.mm:445:83: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (_settings_client.gui.right_mouse_btn_emulation == RMBE_COMMAND) keymask |= NSCommandKeyMask; ^~~~~~~~~~~~~~~~ NSEventModifierFlagCommand /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/event.mm:446:83: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if (_settings_client.gui.right_mouse_btn_emulation == RMBE_CONTROL) keymask |= NSControlKeyMask; ^~~~~~~~~~~~~~~~ NSEventModifierFlagControl /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl... ^ src/video/cocoa/event.mm:465:8: warning: 'NSLeftMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSLeftMouseUp: ^~~~~~~~~~~~~ NSEventTypeLeftMouseUp /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:66:26: note: 'NSLeftMouseUp' has been explicitly marked deprecated here static const NSEventType NSLeftMouseUp API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseUp", macosx(10.0, 10... ^ src/video/cocoa/event.mm:481:8: warning: 'NSRightMouseDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSRightMouseDown: ^~~~~~~~~~~~~~~~ NSEventTypeRightMouseDown /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:67:26: note: 'NSRightMouseDown' has been explicitly marked deprecated here static const NSEventType NSRightMouseDown API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDown", macosx(10.0... ^ src/video/cocoa/event.mm:492:8: warning: 'NSRightMouseUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSRightMouseUp: ^~~~~~~~~~~~~~ NSEventTypeRightMouseUp /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:68:26: note: 'NSRightMouseUp' has been explicitly marked deprecated here static const NSEventType NSRightMouseUp API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseUp", macosx(10.0, 1... ^ src/video/cocoa/event.mm:528:8: warning: 'NSKeyDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSKeyDown: { ^~~~~~~~~ NSEventTypeKeyDown /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:74:26: note: 'NSKeyDown' has been explicitly marked deprecated here static const NSEventType NSKeyDown API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyDown", macosx(10.0, 10.12)... ^ src/video/cocoa/event.mm:534:36: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if ([ event modifierFlags ] & NSCommandKeyMask) { ^~~~~~~~~~~~~~~~ NSEventModifierFlagCommand /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/event.mm:555:8: warning: 'NSKeyUp' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSKeyUp: ^~~~~~~ NSEventTypeKeyUp /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:75:26: note: 'NSKeyUp' has been explicitly marked deprecated here static const NSEventType NSKeyUp API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyUp", macosx(10.0, 10.12)) ... ^ src/video/cocoa/event.mm:561:36: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] if ([ event modifierFlags ] & NSCommandKeyMask) { ^~~~~~~~~~~~~~~~ NSEventModifierFlagCommand /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/event.mm:571:8: warning: 'NSScrollWheel' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSScrollWheel: ^~~~~~~~~~~~~ NSEventTypeScrollWheel /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:82:26: note: 'NSScrollWheel' has been explicitly marked deprecated here static const NSEventType NSScrollWheel API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeScrollWheel", macosx(10.0, 10... ^ src/video/cocoa/event.mm:606:8: warning: 'NSCursorUpdate' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSCursorUpdate: ^~~~~~~~~~~~~~ NSEventTypeCursorUpdate /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:81:26: note: 'NSCursorUpdate' has been explicitly marked deprecated here static const NSEventType NSCursorUpdate API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeCursorUpdate", macosx(10.0, 1... ^ src/video/cocoa/event.mm:607:8: warning: 'NSMouseEntered' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSMouseEntered: ^~~~~~~~~~~~~~ NSEventTypeMouseEntered /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:72:26: note: 'NSMouseEntered' has been explicitly marked deprecated here static const NSEventType NSMouseEntered API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseEntered", macosx(10.0, 1... ^ src/video/cocoa/event.mm:608:8: warning: 'NSMouseExited' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] case NSMouseExited: ^~~~~~~~~~~~~ NSEventTypeMouseExited /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:73:26: note: 'NSMouseExited' has been explicitly marked deprecated here static const NSEventType NSMouseExited API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseExited", macosx(10.0, 10... ^ src/video/cocoa/event.mm:679:106: warning: 'NSControlKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] ...= !!(_current_mods & ( _settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? NSControlKeyMask : NSCommandKeyMa... ^~~~~~~~~~~~~~~~ NSEventModifierFlagControl /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSControlKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl... ^ src/video/cocoa/event.mm:679:125: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] ...& ( _settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? NSControlKeyMask : NSCommandKeyMask)); ^~~~~~~~~~~~~~~~ NSEventModifierFlagCommand /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/event.mm:680:40: warning: 'NSShiftKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] _shift_pressed = !!(_current_mods & NSShiftKeyMask); ^~~~~~~~~~~~~~ NSEventModifierFlagShift /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:182:35: note: 'NSShiftKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSShiftKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagShift"... ^ src/video/cocoa/cocoa_v.mm:79:48: warning: 'NSApplicationDefined' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] NSEvent *event = [ NSEvent otherEventWithType:NSApplicationDefined location:NSMakePoint(0, 0) modifierFlags:0 tim... ^~~~~~~~~~~~~~~~~~~~ NSEventTypeApplicationDefined /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:79:26: note: 'NSApplicationDefined' has been explicitly marked deprecated here static const NSEventType NSApplicationDefined API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeApplicationDefined", macosx(1... ^ src/video/cocoa/cocoa_v.mm:147:43: warning: 'NSAlternateKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] [ menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask | NSCommandKeyMask) ]; ^~~~~~~~~~~~~~~~~~ NSEventModifierFlagOption /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:35: note: 'NSAlternateKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSAlternateKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagOption"... ^ src/video/cocoa/cocoa_v.mm:147:64: warning: 'NSCommandKeyMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] [ menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask | NSCommandKeyMask) ]; ^~~~~~~~~~~~~~~~ NSEventModifierFlagCommand /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked deprecated here static const NSEventModifierFlags NSCommandKeyMask API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand... ^ src/video/cocoa/cocoa_v.mm:665:26: warning: 'NSCriticalAlertStyle' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations] [ alert setAlertStyle: NSCriticalAlertStyle ]; ^~~~~~~~~~~~~~~~~~~~ NSAlertStyleCritical /System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:182:27: note: 'NSCriticalAlertStyle' has been explicitly marked deprecated here static const NSAlertStyle NSCriticalAlertStyle API_DEPRECATED_WITH_REPLACEMENT("NSAlertStyleCritical", macosx(10.3, 10.12... ^ 5 warnings generated. 35 warnings generated. 4 warnings generated.