Loading

Paste #pvb5lnrj7

  1. src/video/cocoa/event.mm:267:22: warning: 'NSShiftKeyMask' is deprecated: first deprecated
  2.       in macOS 10.12 [-Wdeprecated-declarations]
  3.         if (_current_mods & NSShiftKeyMask)     key |= WKC_SHIFT;
  4.                             ^~~~~~~~~~~~~~
  5.                             NSEventModifierFlagShift
  6. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:182:35: note: 'NSShiftKeyMask' has been explicitly marked
  7.       deprecated here
  8. static const NSEventModifierFlags NSShiftKeyMask              API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagShift"...
  9.                                   ^
  10. src/video/cocoa/event.mm:268:22: warning: 'NSControlKeyMask' is deprecated: first
  11.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  12.         if (_current_mods & NSControlKeyMask)   key |= (_settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? ...
  13.                             ^~~~~~~~~~~~~~~~
  14.                             NSEventModifierFlagControl
  15. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked
  16.       deprecated here
  17. static const NSEventModifierFlags NSControlKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl...
  18.                                   ^
  19. src/video/cocoa/event.mm:269:22: warning: 'NSAlternateKeyMask' is deprecated: first
  20.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  21.         if (_current_mods & NSAlternateKeyMask) key |= WKC_ALT;
  22.                             ^~~~~~~~~~~~~~~~~~
  23.                             NSEventModifierFlagOption
  24. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:35: note: 'NSAlternateKeyMask' has been explicitly marked
  25.       deprecated here
  26. static const NSEventModifierFlags NSAlternateKeyMask          API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagOption"...
  27.                                   ^
  28. src/video/cocoa/event.mm:270:22: warning: 'NSCommandKeyMask' is deprecated: first
  29.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  30.         if (_current_mods & NSCommandKeyMask)   key |= (_settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? ...
  31.                             ^~~~~~~~~~~~~~~~
  32.                             NSEventModifierFlagCommand
  33. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked
  34.       deprecated here
  35. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  36.                                   ^
  37. src/video/cocoa/event.mm:289:33: warning: 'NSCommandKeyMask' is deprecated: first
  38.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  39.                         if (down && (_current_mods & NSCommandKeyMask)) {
  40.                                                      ^~~~~~~~~~~~~~~~
  41.                                                      NSEventModifierFlagCommand
  42. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked
  43.       deprecated here
  44. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  45.                                   ^
  46. src/video/cocoa/event.mm:295:60: warning: 'NSCommandKeyMask' is deprecated: first
  47.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  48.                         if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
  49.                                                                                 ^~~~~~~~~~~~~~~~
  50.                                                                                 NSEventModifierFlagCommand
  51. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked
  52.       deprecated here
  53. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  54.                                   ^
  55. src/video/cocoa/event.mm:295:79: warning: 'NSControlKeyMask' is deprecated: first
  56.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  57.                         if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
  58.                                                                                                    ^~~~~~~~~~~~~~~~
  59.                                                                                                    NSEventModifierFlagControl
  60. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked
  61.       deprecated here
  62. static const NSEventModifierFlags NSControlKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl...
  63.                                   ^
  64. src/video/cocoa/event.mm:300:60: warning: 'NSCommandKeyMask' is deprecated: first
  65.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  66.                         if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
  67.                                                                                 ^~~~~~~~~~~~~~~~
  68.                                                                                 NSEventModifierFlagCommand
  69. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked
  70.       deprecated here
  71. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  72.                                   ^
  73. src/video/cocoa/event.mm:300:79: warning: 'NSControlKeyMask' is deprecated: first
  74.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  75.                         if (down && EditBoxInGlobalFocus() && (_current_mods & (NSCommandKeyMask | NSControlKeyMask))) {
  76.                                                                                                    ^~~~~~~~~~~~~~~~
  77.                                                                                                    NSEventModifierFlagControl
  78. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked
  79.       deprecated here
  80. static const NSEventModifierFlags NSControlKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl...
  81.                                   ^
  82. src/video/cocoa/wnd_quartz.mm:281:24: warning: 'NSTitledWindowMask' is deprecated: first
  83.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  84.                 unsigned int style = NSTitledWindowMask;
  85.                                      ^~~~~~~~~~~~~~~~~~
  86.                                      NSWindowStyleMaskTitled
  87. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:953:32: note: 'NSTitledWindowMask' has been explicitly marked
  88.       deprecated here
  89. static const NSWindowStyleMask NSTitledWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskTitled", macosx(10.0...
  90.                                ^
  91. src/video/cocoa/wnd_quartz.mm:282:13: warning: 'NSMiniaturizableWindowMask' is deprecated:
  92.       first deprecated in macOS 10.12 [-Wdeprecated-declarations]
  93.                 style |= (NSMiniaturizableWindowMask | NSClosableWindowMask);
  94.                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
  95.                           NSWindowStyleMaskMiniaturizable
  96. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:955:32: note: 'NSMiniaturizableWindowMask' has been explicitly
  97.       marked deprecated here
  98. static const NSWindowStyleMask NSMiniaturizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskMiniaturizabl...
  99.                                ^
  100. src/video/cocoa/wnd_quartz.mm:282:42: warning: 'NSClosableWindowMask' is deprecated: first
  101.       deprecated in macOS 10.12 [-Wdeprecated-declarations]src/video/cocoa/event.mm:
  102. 343:33: warning: 'NSAlphaShiftKeyMask' is deprecated: first                style |= (NSMiniaturizableWindowMask | NSClosableWindowMask);
  103.  
  104.       deprecated                                                        ^~~~~~~~~~~~~~~~~~~~in
  105.  macOS                                                        NSWindowStyleMaskClosable10.12
  106.  [-Wdeprecated-declarations]
  107. /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) {
  108. marked
  109.                                              ^~~~~~~~~~~~~~~~~~~deprecated
  110.  here                                       NSEventModifierFlagCapsLock
  111.  
  112. static const NSWindowStyleMask NSClosableWindowMask API_DEPRECATED/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:35: note: 'NSAlphaShiftKeyMask' has been explicitly marked
  113.       deprecated here
  114. static const NSEventModifierFlags NSAlphaShiftKeyMask         API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLoc...
  115.                                   ^
  116. _WITH_REPLACEMENT("NSWindowStyleMaskClosable", macosx(1...
  117.                                ^
  118. src/video/cocoa/event.mm:343:61: warning: 'NSCommandKeyMask' is deprecated: first
  119.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  120. src/video/cocoa/wnd_quartz.mm:283:12: warning: 'NSResizableWindowMask' is deprecated:
  121.         for (unsigned int i = 0, bit = NSAlphaShiftKeyMask; bit <= NSCommandKeyMask; bit <<= 1, ++i) {      
  122. first                                                                    ^~~~~~~~~~~~~~~~deprecated
  123.  in                                                                    NSEventModifierFlagCommandmacOS
  124.  10.12 [-Wdeprecated-declarations]
  125. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:                style |= NSResizableWindowMask;
  126.                          ^~~~~~~~~~~~~~~~~~~~~
  127.                          NSWindowStyleMaskResizable
  128. /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h35:956:: 32: notenote: 'NSResizableWindowMask' has been explicitly marked
  129.       deprecated here
  130. static const NSWindowStyleMask NSResizableWindowMask API_DEPRECATED_WITH_REPLACEMENT("NSWindowStyleMaskResizable", macosx...
  131.                                ^
  132. : 'NSCommandKeyMask' has been explicitly marked
  133.       deprecated here
  134. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  135.                                   ^
  136. src/video/cocoa/wnd_quartz.mm:314:69: warning: 'NSWindowFullScreenButton' is deprecated:
  137.       src/video/cocoa/event.mmfirst: 351deprecated: 15in:  macOS 10.12warning : - The'NSAlphaShiftKeyMask'  standardis  windowdeprecated:  buttonfirst
  138. for       deprecatedNSWindowFullScreenButton  inis  macOSalways  10.12nil;  [-Wdeprecated-declarations]use
  139.  
  140.       NSWindowZoomButton instead [-Wdeprecated-declarations]
  141.                         if (bit == NSAlphaShiftKeyMask) QZ_KeyEvent(mapping[i], 0, YES);
  142.                                    ^~~~~~~~~~~~~~~~~~~
  143.                                    NSEventModifierFlagCapsLock
  144.                         NSButton* fullscreenButton = [ this->window standardWindowButton:NSWindowFullScreenButton ];
  145.                                                                                          ^
  146. /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
  147. explicitly       deprecatedmarked
  148. here      deprecated
  149.  here
  150. static const NSEventModifierFlags NSAlphaShiftKeyMask         API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLoc...    NSWindowFullScreenButton NS_ENUM_DEPRECATED_MAC(10_7, 10_12, "The standard window button for NSWindowFullScreenButto...
  151.  
  152.     ^
  153.                                   ^
  154. src/video/cocoa/event.mm:356:15: warning: 'NSAlphaShiftKeyMask' is deprecated: first
  155.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  156.                         if (bit == NSAlphaShiftKeyMask) QZ_KeyEvent(mapping[i], 0, NO);
  157.                                    ^~~~~~~~~~~~~~~~~~~
  158.                                    NSEventModifierFlagCapsLock
  159. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:181:35: note: 'NSAlphaShiftKeyMask' has been explicitly marked
  160.       deprecated here
  161. static const NSEventModifierFlags NSAlphaShiftKeyMask         API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCapsLoc...
  162.                                   ^
  163. src/video/cocoa/event.mm:407:49: warning: 'NSAnyEventMask' is deprecated: first deprecated
  164.       in macOS 10.12 [-Wdeprecated-declarations]
  165.         NSEvent *event = [ NSApp nextEventMatchingMask:NSAnyEventMask
  166.                                                        ^~~~~~~~~~~~~~
  167.                                                        NSEventMaskAny
  168. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:158:26: note: 'NSAnyEventMask' has been explicitly marked
  169.       deprecated here
  170. static const NSEventMask NSAnyEventMask                 API_DEPRECATED_WITH_REPLACEMENT("NSEventMaskAny", macosx(10.0, 10...
  171.                          ^
  172. src/video/cocoa/event.mm:425:8: warning: 'NSMouseMoved' is deprecated: first deprecated in
  173.       macOS 10.12 [-Wdeprecated-declarations]
  174.                 case NSMouseMoved:
  175.                      ^~~~~~~~~~~~
  176.                      NSEventTypeMouseMoved
  177. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:69:26: note: 'NSMouseMoved' has been explicitly marked deprecated
  178.       here
  179. static const NSEventType NSMouseMoved           API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseMoved", macosx(10.0, 10....
  180.                          ^
  181. src/video/cocoa/event.mm:426:8: warning: 'NSOtherMouseDragged' is deprecated: first
  182.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  183.                 case NSOtherMouseDragged:
  184.                      ^~~~~~~~~~~~~~~~~~~
  185.                      NSEventTypeOtherMouseDragged
  186. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:87:26: note: 'NSOtherMouseDragged' has been explicitly marked
  187.       deprecated here
  188. static const NSEventType NSOtherMouseDragged    API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeOtherMouseDragged", macosx(10...
  189.                          ^
  190. src/video/cocoa/event.mm:427:8: warning: 'NSLeftMouseDragged' is deprecated: first
  191.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  192.                 case NSLeftMouseDragged:
  193.                      ^~~~~~~~~~~~~~~~~~
  194.                      NSEventTypeLeftMouseDragged
  195. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:70:26: note: 'NSLeftMouseDragged' has been explicitly marked
  196.       deprecated here
  197. static const NSEventType NSLeftMouseDragged     API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDragged", macosx(10....
  198.                          ^
  199. src/video/cocoa/event.mm:437:8: warning: 'NSRightMouseDragged' is deprecated: first
  200.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  201.                 case NSRightMouseDragged:
  202.                      ^~~~~~~~~~~~~~~~~~~
  203.                      NSEventTypeRightMouseDragged
  204. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:71:26: note: 'NSRightMouseDragged' has been explicitly marked
  205.       deprecated here
  206. static const NSEventType NSRightMouseDragged    API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDragged", macosx(10...
  207.                          ^
  208. src/video/cocoa/event.mm:442:8: warning: 'NSLeftMouseDown' is deprecated: first deprecated
  209.       in macOS 10.12 [-Wdeprecated-declarations]
  210.                 case NSLeftMouseDown:
  211.                      ^~~~~~~~~~~~~~~
  212.                      NSEventTypeLeftMouseDown
  213. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:65:26: note: 'NSLeftMouseDown' has been explicitly marked
  214.       deprecated here
  215. static const NSEventType NSLeftMouseDown        API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseDown", macosx(10.0, ...
  216.                          ^
  217. src/video/cocoa/event.mm:445:83: warning: 'NSCommandKeyMask' is deprecated: first
  218.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  219.                         if (_settings_client.gui.right_mouse_btn_emulation == RMBE_COMMAND) keymask |= NSCommandKeyMask;
  220.                                                                                                        ^~~~~~~~~~~~~~~~
  221.                                                                                                        NSEventModifierFlagCommand
  222. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked
  223.       deprecated here
  224. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  225.                                   ^
  226. src/video/cocoa/event.mm:446:83: warning: 'NSControlKeyMask' is deprecated: first
  227.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  228.                         if (_settings_client.gui.right_mouse_btn_emulation == RMBE_CONTROL) keymask |= NSControlKeyMask;
  229.                                                                                                        ^~~~~~~~~~~~~~~~
  230.                                                                                                        NSEventModifierFlagControl
  231. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked
  232.       deprecated here
  233. static const NSEventModifierFlags NSControlKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl...
  234.                                   ^
  235. src/video/cocoa/event.mm:465:8: warning: 'NSLeftMouseUp' is deprecated: first deprecated
  236.       in macOS 10.12 [-Wdeprecated-declarations]
  237.                 case NSLeftMouseUp:
  238.                      ^~~~~~~~~~~~~
  239.                      NSEventTypeLeftMouseUp
  240. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:66:26: note: 'NSLeftMouseUp' has been explicitly marked deprecated
  241.       here
  242. static const NSEventType NSLeftMouseUp          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeLeftMouseUp", macosx(10.0, 10...
  243.                          ^
  244. src/video/cocoa/event.mm:481:8: warning: 'NSRightMouseDown' is deprecated: first
  245.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  246.                 case NSRightMouseDown:
  247.                      ^~~~~~~~~~~~~~~~
  248.                      NSEventTypeRightMouseDown
  249. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:67:26: note: 'NSRightMouseDown' has been explicitly marked
  250.       deprecated here
  251. static const NSEventType NSRightMouseDown       API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseDown", macosx(10.0...
  252.                          ^
  253. src/video/cocoa/event.mm:492:8: warning: 'NSRightMouseUp' is deprecated: first deprecated
  254.       in macOS 10.12 [-Wdeprecated-declarations]
  255.                 case NSRightMouseUp:
  256.                      ^~~~~~~~~~~~~~
  257.                      NSEventTypeRightMouseUp
  258. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:68:26: note: 'NSRightMouseUp' has been explicitly marked deprecated
  259.       here
  260. static const NSEventType NSRightMouseUp         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeRightMouseUp", macosx(10.0, 1...
  261.                          ^
  262. src/video/cocoa/event.mm:528:8: warning: 'NSKeyDown' is deprecated: first deprecated in
  263.       macOS 10.12 [-Wdeprecated-declarations]
  264.                 case NSKeyDown: {
  265.                      ^~~~~~~~~
  266.                      NSEventTypeKeyDown
  267. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:74:26: note: 'NSKeyDown' has been explicitly marked deprecated here
  268. static const NSEventType NSKeyDown              API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyDown", macosx(10.0, 10.12)...
  269.                          ^
  270. src/video/cocoa/event.mm:534:36: warning: 'NSCommandKeyMask' is deprecated: first
  271.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  272.                                         if ([ event modifierFlags ] & NSCommandKeyMask) {
  273.                                                                       ^~~~~~~~~~~~~~~~
  274.                                                                       NSEventModifierFlagCommand
  275. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked
  276.       deprecated here
  277. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  278.                                   ^
  279. src/video/cocoa/event.mm:555:8: warning: 'NSKeyUp' is deprecated: first deprecated in
  280.       macOS 10.12 [-Wdeprecated-declarations]
  281.                 case NSKeyUp:
  282.                      ^~~~~~~
  283.                      NSEventTypeKeyUp
  284. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:75:26: note: 'NSKeyUp' has been explicitly marked deprecated here
  285. static const NSEventType NSKeyUp                API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeKeyUp", macosx(10.0, 10.12)) ...
  286.                          ^
  287. src/video/cocoa/event.mm:561:36: warning: 'NSCommandKeyMask' is deprecated: first
  288.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  289.                                         if ([ event modifierFlags ] & NSCommandKeyMask) {
  290.                                                                       ^~~~~~~~~~~~~~~~
  291.                                                                       NSEventModifierFlagCommand
  292. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked
  293.       deprecated here
  294. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  295.                                   ^
  296. src/video/cocoa/event.mm:571:8: warning: 'NSScrollWheel' is deprecated: first deprecated
  297.       in macOS 10.12 [-Wdeprecated-declarations]
  298.                 case NSScrollWheel:
  299.                      ^~~~~~~~~~~~~
  300.                      NSEventTypeScrollWheel
  301. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:82:26: note: 'NSScrollWheel' has been explicitly marked deprecated
  302.       here
  303. static const NSEventType NSScrollWheel          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeScrollWheel", macosx(10.0, 10...
  304.                          ^
  305. src/video/cocoa/event.mm:606:8: warning: 'NSCursorUpdate' is deprecated: first deprecated
  306.       in macOS 10.12 [-Wdeprecated-declarations]
  307.                 case NSCursorUpdate:
  308.                      ^~~~~~~~~~~~~~
  309.                      NSEventTypeCursorUpdate
  310. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:81:26: note: 'NSCursorUpdate' has been explicitly marked deprecated
  311.       here
  312. static const NSEventType NSCursorUpdate         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeCursorUpdate", macosx(10.0, 1...
  313.                          ^
  314. src/video/cocoa/event.mm:607:8: warning: 'NSMouseEntered' is deprecated: first deprecated
  315.       in macOS 10.12 [-Wdeprecated-declarations]
  316.                 case NSMouseEntered:
  317.                      ^~~~~~~~~~~~~~
  318.                      NSEventTypeMouseEntered
  319. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:72:26: note: 'NSMouseEntered' has been explicitly marked deprecated
  320.       here
  321. static const NSEventType NSMouseEntered         API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseEntered", macosx(10.0, 1...
  322.                          ^
  323. src/video/cocoa/event.mm:608:8: warning: 'NSMouseExited' is deprecated: first deprecated
  324.       in macOS 10.12 [-Wdeprecated-declarations]
  325.                 case NSMouseExited:
  326.                      ^~~~~~~~~~~~~
  327.                      NSEventTypeMouseExited
  328. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:73:26: note: 'NSMouseExited' has been explicitly marked deprecated
  329.       here
  330. static const NSEventType NSMouseExited          API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeMouseExited", macosx(10.0, 10...
  331.                          ^
  332. src/video/cocoa/event.mm:679:106: warning: 'NSControlKeyMask' is deprecated: first
  333.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  334.   ...= !!(_current_mods & ( _settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? NSControlKeyMask : NSCommandKeyMa...
  335.                                                                                              ^~~~~~~~~~~~~~~~
  336.                                                                                              NSEventModifierFlagControl
  337. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:183:35: note: 'NSControlKeyMask' has been explicitly marked
  338.       deprecated here
  339. static const NSEventModifierFlags NSControlKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagControl...
  340.                                   ^
  341. src/video/cocoa/event.mm:679:125: warning: 'NSCommandKeyMask' is deprecated: first
  342.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  343.   ...& ( _settings_client.gui.right_mouse_btn_emulation != RMBE_CONTROL ? NSControlKeyMask : NSCommandKeyMask));
  344.                                                                                              ^~~~~~~~~~~~~~~~
  345.                                                                                              NSEventModifierFlagCommand
  346. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked
  347.       deprecated here
  348. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  349.                                   ^
  350. src/video/cocoa/event.mm:680:40: warning: 'NSShiftKeyMask' is deprecated: first deprecated
  351.       in macOS 10.12 [-Wdeprecated-declarations]
  352.                         _shift_pressed = !!(_current_mods & NSShiftKeyMask);
  353.                                                             ^~~~~~~~~~~~~~
  354.                                                             NSEventModifierFlagShift
  355. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:182:35: note: 'NSShiftKeyMask' has been explicitly marked
  356.       deprecated here
  357. static const NSEventModifierFlags NSShiftKeyMask              API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagShift"...
  358.                                   ^
  359. src/video/cocoa/cocoa_v.mm:79:48: warning: 'NSApplicationDefined' is deprecated: first
  360.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  361.         NSEvent *event = [ NSEvent otherEventWithType:NSApplicationDefined location:NSMakePoint(0, 0) modifierFlags:0 tim...
  362.                                                       ^~~~~~~~~~~~~~~~~~~~
  363.                                                       NSEventTypeApplicationDefined
  364. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:79:26: note: 'NSApplicationDefined' has been explicitly marked
  365.       deprecated here
  366. static const NSEventType NSApplicationDefined   API_DEPRECATED_WITH_REPLACEMENT("NSEventTypeApplicationDefined", macosx(1...
  367.                          ^
  368. src/video/cocoa/cocoa_v.mm:147:43: warning: 'NSAlternateKeyMask' is deprecated: first
  369.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  370.         [ menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask | NSCommandKeyMask) ];
  371.                                                  ^~~~~~~~~~~~~~~~~~
  372.                                                  NSEventModifierFlagOption
  373. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:184:35: note: 'NSAlternateKeyMask' has been explicitly marked
  374.       deprecated here
  375. static const NSEventModifierFlags NSAlternateKeyMask          API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagOption"...
  376.                                   ^
  377. src/video/cocoa/cocoa_v.mm:147:64: warning: 'NSCommandKeyMask' is deprecated: first
  378.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  379.         [ menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask | NSCommandKeyMask) ];
  380.                                                                       ^~~~~~~~~~~~~~~~
  381.                                                                       NSEventModifierFlagCommand
  382. /System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note: 'NSCommandKeyMask' has been explicitly marked
  383.       deprecated here
  384. static const NSEventModifierFlags NSCommandKeyMask            API_DEPRECATED_WITH_REPLACEMENT("NSEventModifierFlagCommand...
  385.                                   ^
  386. src/video/cocoa/cocoa_v.mm:665:26: warning: 'NSCriticalAlertStyle' is deprecated: first
  387.       deprecated in macOS 10.12 [-Wdeprecated-declarations]
  388.                 [ alert setAlertStyle: NSCriticalAlertStyle ];
  389.                                        ^~~~~~~~~~~~~~~~~~~~
  390.                                        NSAlertStyleCritical
  391. /System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:182:27: note: 'NSCriticalAlertStyle' has been explicitly marked
  392.       deprecated here
  393. static const NSAlertStyle NSCriticalAlertStyle API_DEPRECATED_WITH_REPLACEMENT("NSAlertStyleCritical", macosx(10.3, 10.12...
  394.                           ^
  395. 5 warnings generated.
  396. 35 warnings generated.
  397. 4 warnings generated.

Comments