Advertisement
dominus

Untitled

May 8th, 2024
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.85 KB | None | 0 0
  1. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:239:70: 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:247:112: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
  8. NSLog(@". In performDragOperation, (deprecated) NSFilenamesPboardType is (%@) '%@'", [NSFilenamesPboardType class], NSFilenamesPboardType);
  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:247:158: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
  14. NSLog(@". In performDragOperation, (deprecated) NSFilenamesPboardType is (%@) '%@'", [NSFilenamesPboardType class], NSFilenamesPboardType);
  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. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:263:28: warning: declaration shadows a variable in the global scope [-Wshadow]
  20. for (unsigned long pi = 0; pi < [[pasteboard pasteboardItems] count]; pi++) {
  21. ^
  22. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1191:23: note: previous declaration is here
  23. extern const double_t pi __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
  24. ^
  25. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:324:49: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
  26. SDL_assert([desiredType isEqualToString:NSFilenamesPboardType] || [desiredType isEqualToString:NSPasteboardTypeString]);
  27. ^
  28. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  29. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  30. ^
  31. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:344:42: warning: 'NSFilenamesPboardType' is deprecated: first deprecated in macOS 10.14 - Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead [-Wdeprecated-declarations]
  32. if ([desiredType isEqualToString:NSFilenamesPboardType]) {
  33. ^
  34. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  35. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement