dominus icon

Untitled

dominus | PRO | 07/10/24 10:12:15 AM UTC | 0 ⭐ | 551 👁️ | Never ⏰ | []
text |

4.77 KB

|

None

|

0 👍

/

0 👎

/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]
        NSString *desiredType = [pasteboard availableTypeFromArray:@[ NSFilenamesPboardType, NSPasteboardTypeString ]];
                                                                      ^
/opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
                               ^
/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]
                [[NSFilenamesPboardType                 className] UTF8String], [[NSFilenamesPboardType                 description] UTF8String]);
                  ^
/opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.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]
                [[NSFilenamesPboardType                 className] UTF8String], [[NSFilenamesPboardType                 description] UTF8String]);
                                                                                  ^
[ 43%] Building C object CMakeFiles/SDL3-shared.dir/src/libm/e_pow.c.o
/opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
                               ^
[ 44%] Building C object CMakeFiles/SDL3-shared.dir/src/libm/e_rem_pio2.c.o
/Users/Dominus/Code/git/sdl/src/video/cocoa/SDL_cocoawindow.m:277:28: warning: declaration shadows a variable in the global scope [-Wshadow]
        for (unsigned long pi = 0; pi < [[pasteboard pasteboardItems] count]; pi++) {
                           ^
/opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/fp.h:1191:23: note: previous declaration is here
extern const double_t pi                                             __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
                      ^
/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]
        SDL_assert([desiredType isEqualToString:NSFilenamesPboardType] || [desiredType isEqualToString:NSPasteboardTypeString]);
                                                ^
/opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));
                               ^
/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]
        if ([desiredType isEqualToString:NSFilenamesPboardType]) {
                                         ^
/opt/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:312:32: note: 'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType API_DEPRECATED("Create multiple pasteboard items with NSPasteboardTypeFileURL or kUTTypeFileURL instead", macos(10.0,10.14));

Comments