Advertisement
dominus

Untitled

Jul 10th, 2024
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.56 KB | None | 0 0
  1. [ 5%] Building OBJC object CMakeFiles/SDL3-shared.dir/src/video/cocoa/SDL_cocoawindow.m.o
  2. /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]
  3. NSString *desiredType = [pasteboard availableTypeFromArray:@[ NSFilenamesPboardType, NSPasteboardTypeString ]];
  4. ^
  5. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  6. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  7. ^
  8. /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]
  9. [[NSFilenamesPboardType className] UTF8String], [[NSFilenamesPboardType description] UTF8String]);
  10. ^
  11. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  12. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  13. ^
  14. /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]
  15. [[NSFilenamesPboardType className] UTF8String], [[NSFilenamesPboardType description] UTF8String]);
  16. ^
  17. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  18. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  19. ^
  20. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:254:32: warning: 'kUTTypeUTF8PlainText' is deprecated: first deprecated in macOS 12.0 - Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead. [-Wdeprecated-declarations]
  21. [[((NSString *)kUTTypeUTF8PlainText) className] UTF8String], [[((NSString *)kUTTypeUTF8PlainText) description] UTF8String]);
  22. ^
  23. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h:303:26: note: 'kUTTypeUTF8PlainText' has been explicitly marked deprecated here
  24. extern const CFStringRef kUTTypeUTF8PlainText API_DEPRECATED("Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
  25. ^
  26. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:254:96: warning: 'kUTTypeUTF8PlainText' is deprecated: first deprecated in macOS 12.0 - Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead. [-Wdeprecated-declarations]
  27. [[((NSString *)kUTTypeUTF8PlainText) className] UTF8String], [[((NSString *)kUTTypeUTF8PlainText) description] UTF8String]);
  28. ^
  29. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h:303:26: note: 'kUTTypeUTF8PlainText' has been explicitly marked deprecated here
  30. extern const CFStringRef kUTTypeUTF8PlainText API_DEPRECATED("Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
  31. ^
  32. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:258:32: warning: 'kUTTypeFileURL' is deprecated: first deprecated in macOS 12.0 - Use UTTypeFileURL or UTType.fileURL (swift) instead. [-Wdeprecated-declarations]
  33. [[((NSString *)kUTTypeFileURL) className] UTF8String], [[((NSString *)kUTTypeFileURL) description] UTF8String]);
  34. ^
  35. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h:211:26: note: 'kUTTypeFileURL' has been explicitly marked deprecated here
  36. extern const CFStringRef kUTTypeFileURL API_DEPRECATED("Use UTTypeFileURL or UTType.fileURL (swift) instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
  37. ^
  38. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:258:96: warning: 'kUTTypeFileURL' is deprecated: first deprecated in macOS 12.0 - Use UTTypeFileURL or UTType.fileURL (swift) instead. [-Wdeprecated-declarations]
  39. [[((NSString *)kUTTypeFileURL) className] UTF8String], [[((NSString *)kUTTypeFileURL) description] UTF8String]);
  40. ^
  41. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h:211:26: note: 'kUTTypeFileURL' has been explicitly marked deprecated here
  42. extern const CFStringRef kUTTypeFileURL API_DEPRECATED("Use UTTypeFileURL or UTType.fileURL (swift) instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
  43. ^
  44. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:277:28: warning: declaration shadows a variable in the global scope [-Wshadow]
  45. for (unsigned long pi = 0; pi < [[pasteboard pasteboardItems] count]; pi++) {
  46. ^
  47. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1191:23: note: previous declaration is here
  48. extern const double_t pi __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
  49. ^
  50. /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]
  51. SDL_assert([desiredType isEqualToString:NSFilenamesPboardType] || [desiredType isEqualToString:NSPasteboardTypeString]);
  52. ^
  53. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  54. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  55. ^
  56. /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]
  57. if ([desiredType isEqualToString:NSFilenamesPboardType]) {
  58. ^
  59. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  60. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  61. ^
  62. /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]
  63. [view setAcceptsTouchEvents:YES];
  64. ^
  65. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:230:16: note: property 'acceptsTouchEvents' is declared deprecated here
  66. @property BOOL acceptsTouchEvents API_DEPRECATED("Use allowedTouchTypes instead", macos(10.6,10.12.2));
  67. ^
  68. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:230:16: note: 'setAcceptsTouchEvents:' has been explicitly marked deprecated here
  69. /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]
  70. [nswindow setOneShot:NO];
  71. ^
  72. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:1001:35: note: property 'oneShot' is declared deprecated here
  73. @property (getter=isOneShot) BOOL oneShot API_DEPRECATED("This property does not do anything and should not be used", macos(10.0,10.14));
  74. ^
  75. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:1001:35: note: 'setOneShot:' has been explicitly marked deprecated here
  76. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:3167:90: warning: 'kUTTypeFileURL' is deprecated: first deprecated in macOS 12.0 - Use UTTypeFileURL or UTType.fileURL (swift) instead. [-Wdeprecated-declarations]
  77. [data.nswindow registerForDraggedTypes:[NSArray arrayWithObjects:(NSString *)kUTTypeFileURL, (NSString *)kUTTypeUTF8PlainText, nil]];
  78. ^
  79. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h:211:26: note: 'kUTTypeFileURL' has been explicitly marked deprecated here
  80. extern const CFStringRef kUTTypeFileURL API_DEPRECATED("Use UTTypeFileURL or UTType.fileURL (swift) instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
  81. ^
  82. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:3167:118: warning: 'kUTTypeUTF8PlainText' is deprecated: first deprecated in macOS 12.0 - Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead. [-Wdeprecated-declarations]
  83. [data.nswindow registerForDraggedTypes:[NSArray arrayWithObjects:(NSString *)kUTTypeFileURL, (NSString *)kUTTypeUTF8PlainText, nil]];
  84. ^
  85. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/UTCoreTypes.h:303:26: note: 'kUTTypeUTF8PlainText' has been explicitly marked deprecated here
  86. extern const CFStringRef kUTTypeUTF8PlainText API_DEPRECATED("Use UTTypeUTF8PlainText or UTType.utf8PlainText (swift) instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement