GNU bug report logs - #38083
27.0.50; Deprecation warnings in NS build

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Pankaj Jangid <pankaj.jangid@HIDDEN>; dated Wed, 6 Nov 2019 05:27:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Nov 2019 05:26:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 06 00:26:40 2019
Received: from localhost ([127.0.0.1]:39396 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iSDq4-0004Ed-Eo
	for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 00:26:40 -0500
Received: from lists.gnu.org ([209.51.188.17]:50576)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pankaj.jangid@HIDDEN>) id 1iSDq3-0004EW-9y
 for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 00:26:39 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:36015)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <pankaj.jangid@HIDDEN>) id 1iSDq1-0007dW-MT
 for bug-gnu-emacs@HIDDEN; Wed, 06 Nov 2019 00:26:39 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pankaj.jangid@HIDDEN>) id 1iSDq0-0003t4-6h
 for bug-gnu-emacs@HIDDEN; Wed, 06 Nov 2019 00:26:37 -0500
Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:42428)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <pankaj.jangid@HIDDEN>)
 id 1iSDpz-0003sP-T1
 for bug-gnu-emacs@HIDDEN; Wed, 06 Nov 2019 00:26:36 -0500
Received: by mail-pg1-x532.google.com with SMTP id q17so873427pgt.9
 for <bug-gnu-emacs@HIDDEN>; Tue, 05 Nov 2019 21:26:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=xB+JeoRyCXqzCqYcu4z8IWkIutsOucoB6m7NNTAUIwk=;
 b=aLWwaDlW1/6W9lFgbjj3OJgdR0emW2WBBnKUYi68NCzMDx8jSGNnbLNwwNWxYRwj38
 JPR8vmPOSsPqkDGxcyc+AYsEX2Rej/c49L/6D3NQd7MD4afMBIIEi1fVK3niBJ/WqtF6
 NJDjJ0dGl8hFMj87bW0//DZnYAtccJVxyaDaXSya4mdVz/KHHkeX1zmJXqLQd2gMe1Ky
 kkAl88htkxvV+hTAecGMIPISVNLEYo6XRIeLTUYHyGr97B/Hgvmw+LQpottkktf/lPTJ
 AvXUBj4gZzxoyV3y6qbs6Qdv6hOtZENRnc/xrSl+LVRjg41zTOAj5LPLX1icszd4X/zp
 N49w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=xB+JeoRyCXqzCqYcu4z8IWkIutsOucoB6m7NNTAUIwk=;
 b=AoitI9Of9V474hvmOTX+rNBN2r2grGbtwsnI3OWX6bFMREO6J1oW6su/Af7GcOGcNd
 bZyHlrDn2C3uQIdk2EHwCUOilDZRisg8zaA2cx9QtTJNHKmg2a5ulRd+4El0v6H2ksmi
 6dhdAQ8+Erpxa5+90nWki/KVgVpi4F2LbHCKgpOZJlcr7bW2zpOVBf38CquYp3Q1hnak
 bJZLWKLqAn/OGm/VrHAu4JIZGlGPFWg4tNSyr0Sk85SXEtkaED1N58vr71uQ38rBN/5z
 GYjALG5gXms/k4i5ebFlkomz6NPkh0aFjySvEE5BIv9yRYHpnSQH10GoBxq0YfHScFRv
 WK1A==
X-Gm-Message-State: APjAAAXfAQztbE2SgHsvaQgynV8WpDhG/QW4o2IB1t3qmArU9wp8ki6p
 CCWmGfA4ymdxS7opYHE7CDDdls0=
X-Google-Smtp-Source: APXvYqw9STyXwyohupJL4SWtmUXUiw2C1Lj62ilUCN00mF4yIe78DW0WOMR2m9e1MZT7cVbonHTeVw==
X-Received: by 2002:a63:f812:: with SMTP id n18mr757775pgh.109.1573017994365; 
 Tue, 05 Nov 2019 21:26:34 -0800 (PST)
Received: from Pankajs-MacBook-Pro.local ([125.99.216.130])
 by smtp.gmail.com with ESMTPSA id f13sm24871472pfa.57.2019.11.05.21.26.33
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 05 Nov 2019 21:26:33 -0800 (PST)
Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501)
 id DC99E203D8EAB3; Wed,  6 Nov 2019 10:56:29 +0530 (IST)
From: Pankaj Jangid <pankaj.jangid@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; Deprecation warnings in NS build
Date: Wed, 06 Nov 2019 10:56:29 +0530
Message-ID: <m2d0e5o9ru.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::532
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


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






Acknowledgement sent to Pankaj Jangid <pankaj.jangid@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#38083; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.