Advertisement
dominus

Untitled

Jul 10th, 2024
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.51 KB | None | 0 0
  1. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:243:71: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
  2. NSString *desiredType = [pasteboard availableTypeFromArray:@[ NSFilenamesPboardType, NSPasteboardTypeString ]];
  3. ^
  4. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  5. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  6. ^
  7. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:252:19: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
  8. [[NSFilenamesPboardType className] UTF8String], [[NSFilenamesPboardType description] UTF8String]);
  9. ^
  10. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  11. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  12. ^
  13. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:252:83: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
  14. [[NSFilenamesPboardType className] UTF8String], [[NSFilenamesPboardType description] UTF8String]);
  15. ^
  16. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  17. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  18. ^
  19. [ 34%] Building C object CMakeFiles/SDL3-shared.dir/src/events/SDL_keysym_to_scancode.c.o
  20. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:277:28: warning: declaration shadows a variable in the global scope [-Wshadow] 35%] Building C object CMakeFiles/SDL3-shared.dir/src/events/SDL_pen.c.o
  21. [ 35%] Building C object CMakeFiles/SDL3-shared.dir/src/events/SDL_mouse.c.o
  22. m
  23. for (unsigned long pi = 0; pi < [[pasteboard pasteboardItems] count]; pi++) {
  24. ^
  25. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1191:23: note: previous declaration is here
  26. extern const double_t pi __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
  27. ^
  28. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:353:49: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
  29. SDL_assert([desiredType isEqualToString:NSFilenamesPboardType] || [desiredType isEqualToString:NSPasteboardTypeString]);
  30. ^
  31. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  32. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  33. ^
  34. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:377:42: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
  35. if ([desiredType isEqualToString:NSFilenamesPboardType]) {
  36. ^
  37. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  38. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  39. ^
  40. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:882:11: warning: 'setAcceptsTouchEvents:' is deprecated: first deprecated in macOS 10.12.2 - Use allowedTouchTypes instead [-Wdeprecated-declarations]
  41. [view setAcceptsTouchEvents:YES];
  42. ^
  43. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:230:16: note: property 'acceptsTouchEvents' is declared deprecated here
  44. @property BOOL acceptsTouchEvents API_DEPRECATED("Use allowedTouchTypes instead", macos(10.6,10.12.2));
  45. ^
  46. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:230:16: note: 'setAcceptsTouchEvents:' has been explicitly marked deprecated here
  47. [ 36%] Building C object CMakeFiles/SDL3-shared.dir/src/events/SDL_quit.c.o
  48. [ 36%] Building C object CMakeFiles/SDL3-shared.dir/src/events/SDL_scancode_tables.c.o
  49. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:2255:19: warning: 'setOneShot:' is deprecated: first deprecated in macOS 10.14 - This property does not do anything and should not be used [-Wdeprecated-declarations]
  50. [nswindow setOneShot:NO];
  51. ^
  52. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:1001:35: note: property 'oneShot' is declared deprecated here
  53. @property (getter=isOneShot) BOOL oneShot API_DEPRECATED("This property does not do anything and should not be used", macos(10.0,10.14));
  54. ^
  55. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:1001:35: note: 'setOneShot:' has been explicitly marked deprecated here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement