emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33035: closed (27.0.50; Deprecated macOS functions)


From: GNU bug Tracking System
Subject: bug#33035: closed (27.0.50; Deprecated macOS functions)
Date: Mon, 18 Jan 2021 12:04:02 +0000

Your message dated Mon, 18 Jan 2021 13:03:35 +0100
with message-id <81E0C8F7-FA77-4339-8B18-A71AF7F9FE7C@acm.org>
and subject line Re: bug#33035: 27.0.50; Deprecated macOS functions
has caused the debbugs.gnu.org bug report #33035,
regarding 27.0.50; Deprecated macOS functions
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
33035: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33035
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 27.0.50; Deprecated macOS functions Date: Sat, 13 Oct 2018 17:32:29 +0200
A few functions and variables have been deprecated in macOS Mojave,
these should be replaced or removed:

  CC       nsterm.o
nsterm.m:175:16: warning: 'colorUsingColorSpaceName:' is deprecated: first 
deprecated in macOS 10.14 - Use -colorUsingType: or -colorUsingColorSpace: 
instead
      [-Wdeprecated-declarations]
  return [self colorUsingColorSpaceName: NSCalibratedRGBColorSpace];
               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:405:1:
 note: 
      'colorUsingColorSpaceName:' has been explicitly marked deprecated here
- (nullable NSColor *)colorUsingColorSpaceName:(NSColorSpaceName)name 
NS_DEPRECATED_MAC(10_0, 10_14, "Use -colorUsingType: or -colorUsingColorSpace: 
instead");
^
nsterm.m:708:3: warning: 'NSDisableScreenUpdates' is deprecated: first 
deprecated in macOS 10.11 - As of 10.11 it is not generally necessary to take 
explicit
      action to achieve visual atomicity. +[NSAnimationContext 
runAnimationGroup:] and other similar methods can be used when a stronger than 
normal need for
      visual atomicity is required. The NSAnimationContext methods do not 
suffer from the same performance problems as NSDisableScreenUpdates.
      [-Wdeprecated-declarations]
  NSDisableScreenUpdates ();
  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:234:20:
 note: 
      'NSDisableScreenUpdates' has been explicitly marked deprecated here
APPKIT_EXTERN void NSDisableScreenUpdates(void) NS_DEPRECATED_MAC(10_0, 10_11, 
"As of 10.11 it is not generally necessary to take explicit action to ach...
                   ^
nsterm.m:718:7: warning: 'NSEnableScreenUpdates' is deprecated: first 
deprecated in macOS 10.11 - As of 10.11 it is not generally necessary to take 
explicit
      action to achieve visual atomicity. +[NSAnimationContext 
runAnimationGroup:] and other similar methods can be used when a stronger than 
normal need for
      visual atomicity is required. The NSAnimationContext methods do not 
suffer from the same performance problems as NSEnableScreenUpdates.
      [-Wdeprecated-declarations]
      NSEnableScreenUpdates ();
      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:236:20:
 note: 
      'NSEnableScreenUpdates' has been explicitly marked deprecated here
APPKIT_EXTERN void NSEnableScreenUpdates(void) NS_DEPRECATED_MAC(10_0, 10_11, 
"As of 10.11 it is not generally necessary to take explicit action to achi...
                   ^
nsterm.m:2848:26: warning: 'scrollRect:by:' is deprecated: first deprecated in 
macOS 10.14 - Use NSScrollView to achieve scrolling views.
      [-Wdeprecated-declarations]
      [FRAME_NS_VIEW (f) scrollRect: src
                         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:260:1:
 note: 
      'scrollRect:by:' has been explicitly marked deprecated here
- (void)scrollRect:(NSRect)rect by:(NSSize)delta NS_DEPRECATED_MAC(10_0, 10_14, 
"Use NSScrollView to achieve scrolling views.");
^
nsterm.m:3241:7: warning: 'NSDisableScreenUpdates' is deprecated: first 
deprecated in macOS 10.11 - As of 10.11 it is not generally necessary to take 
explicit
      action to achieve visual atomicity. +[NSAnimationContext 
runAnimationGroup:] and other similar methods can be used when a stronger than 
normal need for
      visual atomicity is required. The NSAnimationContext methods do not 
suffer from the same performance problems as NSDisableScreenUpdates.
      [-Wdeprecated-declarations]
      NSDisableScreenUpdates ();
      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:234:20:
 note: 
      'NSDisableScreenUpdates' has been explicitly marked deprecated here
APPKIT_EXTERN void NSDisableScreenUpdates(void) NS_DEPRECATED_MAC(10_0, 10_11, 
"As of 10.11 it is not generally necessary to take explicit action to ach...
                   ^
nsterm.m:3279:7: warning: 'NSEnableScreenUpdates' is deprecated: first 
deprecated in macOS 10.11 - As of 10.11 it is not generally necessary to take 
explicit
      action to achieve visual atomicity. +[NSAnimationContext 
runAnimationGroup:] and other similar methods can be used when a stronger than 
normal need for
      visual atomicity is required. The NSAnimationContext methods do not 
suffer from the same performance problems as NSEnableScreenUpdates.
      [-Wdeprecated-declarations]
      NSEnableScreenUpdates ();
      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:236:20:
 note: 
      'NSEnableScreenUpdates' has been explicitly marked deprecated here
APPKIT_EXTERN void NSEnableScreenUpdates(void) NS_DEPRECATED_MAC(10_0, 10_11, 
"As of 10.11 it is not generally necessary to take explicit action to achi...
                   ^
nsterm.m:5452:47: warning: 'NSStringPboardType' is deprecated: first deprecated 
in macOS 10.14 [-Wdeprecated-declarations]
  ns_send_types = [[NSArray arrayWithObjects: NSStringPboardType, nil] retain];
                                              ^~~~~~~~~~~~~~~~~~
                                              NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsterm.m:5453:49: warning: 'NSStringPboardType' is deprecated: first deprecated 
in macOS 10.14 [-Wdeprecated-declarations]
  ns_return_types = [[NSArray arrayWithObjects: NSStringPboardType, nil]
                                                ^~~~~~~~~~~~~~~~~~
                                                NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsterm.m:5456:29: warning: 'NSStringPboardType' is deprecated: first deprecated 
in macOS 10.14 [-Wdeprecated-declarations]
                            NSStringPboardType,
                            ^~~~~~~~~~~~~~~~~~
                            NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsterm.m:5457:29: warning: 'NSTabularTextPboardType' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
                            NSTabularTextPboardType,
                            ^~~~~~~~~~~~~~~~~~~~~~~
                            NSPasteboardTypeTabularText
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:326:32:
 note: 
      'NSTabularTextPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSTabularTextPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeTabularText", 10_0, 10_14);
                               ^
nsterm.m:5458:29: warning: 'NSFilenamesPboardType' is deprecated: first 
deprecated in macOS 10.14 - Create multiple pasteboard items with
      NSPasteboardTypeFileURL or kUTTypeFileURL instead 
[-Wdeprecated-declarations]
                            NSFilenamesPboardType,
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:323:32:
 note: 
      'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType NS_DEPRECATED_MAC(10_0, 
10_14, "Create multiple pasteboard items with NSPasteboardTypeFileURL or kU...
                               ^
nsterm.m:5459:29: warning: 'NSURLPboardType' is deprecated: first deprecated in 
macOS 10.14 [-Wdeprecated-declarations]
                            NSURLPboardType, nil] retain];
                            ^~~~~~~~~~~~~~~
                            NSPasteboardTypeURL
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:332:32:
 note: 
      'NSURLPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSURLPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeURL", 10_0, 10_14);
                               ^
nsterm.m:8245:35: warning: 'NSFilenamesPboardType' is deprecated: first 
deprecated in macOS 10.14 - Create multiple pasteboard items with
      NSPasteboardTypeFileURL or kUTTypeFileURL instead 
[-Wdeprecated-declarations]
  else if ([type isEqualToString: NSFilenamesPboardType])
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:323:32:
 note: 
      'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType NS_DEPRECATED_MAC(10_0, 
10_14, "Create multiple pasteboard items with NSPasteboardTypeFileURL or kU...
                               ^
nsterm.m:8266:35: warning: 'NSURLPboardType' is deprecated: first deprecated in 
macOS 10.14 [-Wdeprecated-declarations]
  else if ([type isEqualToString: NSURLPboardType])
                                  ^~~~~~~~~~~~~~~
                                  NSPasteboardTypeURL
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:332:32:
 note: 
      'NSURLPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSURLPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeURL", 10_0, 10_14);
                               ^
nsterm.m:8288:35: warning: 'NSStringPboardType' is deprecated: first deprecated 
in macOS 10.14 [-Wdeprecated-declarations]
  else if ([type isEqualToString: NSStringPboardType]
                                  ^~~~~~~~~~~~~~~~~~
                                  NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsterm.m:8289:38: warning: 'NSTabularTextPboardType' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
           || [type isEqualToString: NSTabularTextPboardType])
                                     ^~~~~~~~~~~~~~~~~~~~~~~
                                     NSPasteboardTypeTabularText
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:326:32:
 note: 
      'NSTabularTextPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSTabularTextPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeTabularText", 10_0, 10_14);
                               ^
nsterm.m:8351:29: warning: 'NSStringPboardType' is deprecated: first deprecated 
in macOS 10.14 [-Wdeprecated-declarations]
  if ([types containsObject:NSStringPboardType] == NO) {
                            ^~~~~~~~~~~~~~~~~~
                            NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsterm.m:8365:44: warning: 'NSStringPboardType' is deprecated: first deprecated 
in macOS 10.14 [-Wdeprecated-declarations]
  typesDeclared = [NSArray arrayWithObject:NSStringPboardType];
                                           ^~~~~~~~~~~~~~~~~~
                                           NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsterm.m:9027:10: warning: 'NSScrollerDecrementLine' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
    case NSScrollerDecrementLine:
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:24:5:
 note: 
      'NSScrollerDecrementLine' has been explicitly marked deprecated here
    NSScrollerDecrementLine NS_ENUM_DEPRECATED_MAC(10_0, 10_14) = 4,
    ^
nsterm.m:9029:10: warning: 'NSScrollerIncrementLine' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
    case NSScrollerIncrementLine:
         ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:25:5:
 note: 
      'NSScrollerIncrementLine' has been explicitly marked deprecated here
    NSScrollerIncrementLine NS_ENUM_DEPRECATED_MAC(10_0, 10_14) = 5,
    ^
20 warnings generated.
  CC       nsfns.o
  CC       nsmenu.o
nsmenu.m:670:25: warning: 'NSOnState' is deprecated: first deprecated in macOS 
10.14 [-Wdeprecated-declarations]
        [item setState: NSOnState];
                        ^~~~~~~~~
                        NSControlStateValueOn
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:80:34:
 note: 
      'NSOnState' has been explicitly marked deprecated here
static const NSControlStateValue NSOnState 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSControlStateValueOn", 10_0, 10_14) = 
NSControlStateValueOn;
                                 ^
nsmenu.m:672:25: warning: 'NSOffState' is deprecated: first deprecated in macOS 
10.14 [-Wdeprecated-declarations]
        [item setState: NSOffState];
                        ^~~~~~~~~~
                        NSControlStateValueOff
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:79:34:
 note: 
      'NSOffState' has been explicitly marked deprecated here
static const NSControlStateValue NSOffState 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSControlStateValueOff", 10_0, 10_14) = 
NSControlStateValueOff;
                                 ^
nsmenu.m:1596:24: warning: 'NSRoundedBezelStyle' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
  [cell setBezelStyle: NSRoundedBezelStyle];
                       ^~~~~~~~~~~~~~~~~~~
                       NSBezelStyleRounded
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButtonCell.h:182:27:
 note: 
      'NSRoundedBezelStyle' has been explicitly marked deprecated here
static const NSBezelStyle NSRoundedBezelStyle 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSBezelStyleRounded", 10_0, 10_14) = 
NSBezelStyleRounded;
                          ^
nsmenu.m:1609:9: warning: 'setOneShot:' is deprecated: first deprecated in 
macOS 10.14 - This property does not do anything and should not be used
      [-Wdeprecated-declarations]
  [self setOneShot: YES];
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:933:35:
 note: 
      property 'oneShot' is declared deprecated here
@property (getter=isOneShot) BOOL oneShot NS_DEPRECATED_MAC(10_0, 10_14, "This 
property does not do anything and should not be used");
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:933:35:
 note: 
      'setOneShot:' has been explicitly marked deprecated here
4 warnings generated.
  CC       nsselect.o
nsselect.m:60:38: warning: 'NSStringPboardType' is deprecated: first deprecated 
in macOS 10.14 [-Wdeprecated-declarations]
  if (EQ (sym, QTEXT))        return NSStringPboardType;
                                     ^~~~~~~~~~~~~~~~~~
                                     NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsselect.m:79:27: warning: 'NSStringPboardType' is deprecated: first deprecated 
in macOS 10.14 [-Wdeprecated-declarations]
  if ([t isEqualToString: NSStringPboardType])
                          ^~~~~~~~~~~~~~~~~~
                          NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsselect.m:81:27: warning: 'NSFilenamesPboardType' is deprecated: first 
deprecated in macOS 10.14 - Create multiple pasteboard items with
      NSPasteboardTypeFileURL or kUTTypeFileURL instead 
[-Wdeprecated-declarations]
  if ([t isEqualToString: NSFilenamesPboardType])
                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:323:32:
 note: 
      'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType NS_DEPRECATED_MAC(10_0, 
10_14, "Create multiple pasteboard items with NSPasteboardTypeFileURL or kU...
                               ^
nsselect.m:83:27: warning: 'NSTabularTextPboardType' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
  if ([t isEqualToString: NSTabularTextPboardType])
                          ^~~~~~~~~~~~~~~~~~~~~~~
                          NSPasteboardTypeTabularText
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:326:32:
 note: 
      'NSTabularTextPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSTabularTextPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeTabularText", 10_0, 10_14);
                               ^
nsselect.m:196:22: warning: 'NSStringPboardType' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
          eassert (gtype == NSStringPboardType);
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsselect.m:348:10: warning: 'NSStringPboardType' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
  type = NSStringPboardType;
         ^~~~~~~~~~~~~~~~~~
         NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsselect.m:475:36: warning: 'NSStringPboardType' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
             [NSNumber numberWithLong:0], NSStringPboardType,
                                          ^~~~~~~~~~~~~~~~~~
                                          NSPasteboardTypeString
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:322:32:
 note: 
      'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeString", 10_0, 10_14);
                               ^
nsselect.m:476:36: warning: 'NSFilenamesPboardType' is deprecated: first 
deprecated in macOS 10.14 - Create multiple pasteboard items with
      NSPasteboardTypeFileURL or kUTTypeFileURL instead 
[-Wdeprecated-declarations]
             [NSNumber numberWithLong:0], NSFilenamesPboardType,
                                          ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:323:32:
 note: 
      'NSFilenamesPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSFilenamesPboardType NS_DEPRECATED_MAC(10_0, 
10_14, "Create multiple pasteboard items with NSPasteboardTypeFileURL or kU...
                               ^
nsselect.m:477:36: warning: 'NSTabularTextPboardType' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
             [NSNumber numberWithLong:0], NSTabularTextPboardType,
                                          ^~~~~~~~~~~~~~~~~~~~~~~
                                          NSPasteboardTypeTabularText
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:326:32:
 note: 
      'NSTabularTextPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSTabularTextPboardType 
NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSPasteboardTypeTabularText", 10_0, 10_14);
                               ^
9 warnings generated.
  CC       nsimage.o
nsimage.m:312:14: warning: 'colorSpaceName' is deprecated: first deprecated in 
macOS 10.14 - Use -type and NSColorType instead [-Wdeprecated-declarations]
  if ([color colorSpaceName] != NSCalibratedRGBColorSpace)
             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:393:45:
 note: 
      property 'colorSpaceName' is declared deprecated here
@property (readonly, copy) NSColorSpaceName colorSpaceName 
NS_DEPRECATED_MAC(10_0, 10_14, "Use -type and NSColorType instead");
                                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:393:45:
 note: 
      'colorSpaceName' has been explicitly marked deprecated here
nsimage.m:313:23: warning: 'colorUsingColorSpaceName:' is deprecated: first 
deprecated in macOS 10.14 - Use -colorUsingType: or -colorUsingColorSpace: 
instead
      [-Wdeprecated-declarations]
    rgbColor = [color colorUsingColorSpaceName: NSCalibratedRGBColorSpace];
                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:405:1:
 note: 
      'colorUsingColorSpaceName:' has been explicitly marked deprecated here
- (nullable NSColor *)colorUsingColorSpaceName:(NSColorSpaceName)name 
NS_DEPRECATED_MAC(10_0, 10_14, "Use -colorUsingType: or -colorUsingColorSpace: 
instead");
^
2 warnings generated.



In GNU Emacs 27.0.50 (build 17, x86_64-apple-darwin17.4.0, NS appkit-1561.20 
Version 10.13.3 (Build 17D102))
 of 2018-09-21
Repository revision: ee3be3fdfa96d7d1a0740c8145a26d758c12a711
Windowing system distributor 'Apple', version 10.3.1671
System Description:  Mac OS X 10.14

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --with-modules --without-pop --with-mailutils
 --enable-gcc-warnings=yes --enable-checking
 --enable-check-lisp-object-type 'CFLAGS=-ggdb3 -O0''

Configured features:
IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
MODULES THREADS JSON LCMS2 GMP

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec epa derived epg epg-config
gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils phst pcase ffap thingatpt
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars subr-x rx gnutls puny seq byte-opt gv
bytecomp byte-compile cconv dbus xml cl-loaddefs cl-lib elec-pair
time-date tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process
emacs)

Memory information:
((conses 16 217139 7540)
 (symbols 48 21677 1)
 (strings 32 33362 1885)
 (string-bytes 1 903661)
 (vectors 16 37433)
 (vector-slots 8 753186 13106)
 (floats 8 50 66)
 (intervals 56 218 0)
 (buffers 992 11))



--- End Message ---
--- Begin Message --- Subject: Re: bug#33035: 27.0.50; Deprecated macOS functions Date: Mon, 18 Jan 2021 13:03:35 +0100
It's been a week without comment (Alan, I hope you are all right!) and if there 
is anything wrong with the patch we probably get faster response by pushing it 
to master so that is now done.

With that, the last warning when compiling on macOS 10.14 should be gone; 
closing the bug.



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]