Advertisement
dominus

Untitled

Jul 10th, 2024
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.77 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. [ 43%] Building C object CMakeFiles/SDL3-shared.dir/src/libm/e_pow.c.o
  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. [ 44%] Building C object CMakeFiles/SDL3-shared.dir/src/libm/e_rem_pio2.c.o
  21. /Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:277:28: warning: declaration shadows a variable in the global scope [-Wshadow]
  22. for (unsigned long pi = 0; pi < [[pasteboard pasteboardItems] count]; pi++) {
  23. ^
  24. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1191:23: note: previous declaration is here
  25. extern const double_t pi __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
  26. ^
  27. /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]
  28. SDL_assert([desiredType isEqualToString:NSFilenamesPboardType] || [desiredType isEqualToString:NSPasteboardTypeString]);
  29. ^
  30. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  31. APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
  32. ^
  33. /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]
  34. if ([desiredType isEqualToString:NSFilenamesPboardType]) {
  35. ^
  36. /opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
  37. 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