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

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

bug#38083: 27.0.50; Deprecation warnings in NS build


From: Pankaj Jangid
Subject: bug#38083: 27.0.50; Deprecation warnings in NS build
Date: Wed, 06 Nov 2019 10:56:29 +0530

In GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin19.0.0, NS appkit-1894.10 
Version 10.15.1 (Build 19B88))
 of 2019-11-06 built on Pankajs-MacBook-Pro.local
Repository revision: 0661a39d1b501a41e439df8c73f7b7f3bf3e3761
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.1

Configured using:
 'configure CPPFLAGS=-I/usr/local/opt/ruby/include
 LDFLAGS=-L/usr/local/opt/ruby/lib'

Configured features:
RSVG DBUS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS
NS MODULES THREADS JSON PDUMPER LCMS2 GMP

There are several deprecation warnings in NS build. Good thing is that,
these are confined to just two files - nsterm.o and nsselect.o. I've
copied following warnings from the build output,

CC       nsterm.o
nsterm.m:2771: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 by: delta];
                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:213:1:
 note: 'scrollRect:by:' has been explicitly marked deprecated here
- (void)scrollRect:(NSRect)rect by:(NSSize)delta API_DEPRECATED("Use 
NSScrollView to achieve scrolling views.", macos(10.0,10.14));
^
nsterm.m:5442:29: warning: 'NSFilenamesPboardType' is deprecated: first 
deprecated in macOS 10.14 - Create multiple pasteboard items with 
NSPasteboardTypeFileURL or kUTTypeFileURL instead
      [-Wdeprecated-declarations]
                            NSFilenamesPboardType,
                            ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.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));
                               ^
nsterm.m:8258: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])
                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.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));
                               ^
nsterm.m:8273:35: warning: 'NSURLPboardType' is deprecated: first deprecated in 
macOS 10.14 [-Wdeprecated-declarations]
  else if ([type isEqualToString: NSURLPboardType])
                                  ^~~~~~~~~~~~~~~
                                  NSPasteboardTypeURL
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:321:32:
 note: 'NSURLPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSURLPboardType 
API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeURL", macos(10.0,10.14));
                               ^
nsterm.m:8282:35: warning: 'NSStringPboardType' is deprecated: first deprecated 
in macOS 10.14 [-Wdeprecated-declarations]
  else if ([type isEqualToString: NSStringPboardType]
                                  ^~~~~~~~~~~~~~~~~~
                                  NSPasteboardTypeString
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:311:32:
 note: 'NSStringPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSStringPboardType 
API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeString", macos(10.0,10.14));
                               ^
nsterm.m:8283:38: warning: 'NSTabularTextPboardType' is deprecated: first 
deprecated in macOS 10.14 [-Wdeprecated-declarations]
           || [type isEqualToString: NSTabularTextPboardType])
                                     ^~~~~~~~~~~~~~~~~~~~~~~
                                     NSPasteboardTypeTabularText
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPasteboard.h:315:32:
 note: 'NSTabularTextPboardType' has been explicitly marked deprecated here
APPKIT_EXTERN NSPasteboardType NSTabularTextPboardType 
API_DEPRECATED_WITH_REPLACEMENT("NSPasteboardTypeTabularText", 
macos(10.0,10.14));
                               ^
6 warnings generated.
  CC       nsselect.o
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])
                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.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));
                               ^
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,
                                          ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.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));
                               ^
2 warnings generated.

-- 
Pankaj Jangid







reply via email to

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