From unknown Sat Sep 13 02:39:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38083: 27.0.50; Deprecation warnings in NS build Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Nov 2019 05:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38083@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157301800016289 (code B ref -1); Wed, 06 Nov 2019 05:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Nov 2019 05:26:40 +0000 Received: from localhost ([127.0.0.1]:39396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSDq4-0004Ed-Eo for submit@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 ) id 1iSDq3-0004EW-9y for submit@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 ) id 1iSDq1-0007dW-MT for bug-gnu-emacs@gnu.org; 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 ) id 1iSDq0-0003t4-6h for bug-gnu-emacs@gnu.org; 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 ) id 1iSDpz-0003sP-T1 for bug-gnu-emacs@gnu.org; Wed, 06 Nov 2019 00:26:36 -0500 Received: by mail-pg1-x532.google.com with SMTP id q17so873427pgt.9 for ; 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 (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 Date: Wed, 06 Nov 2019 10:56:29 +0530 Message-ID: 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From unknown Sat Sep 13 02:39:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38083: 27.0.50; Deprecation warnings in NS build Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 11:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Pankaj Jangid Cc: Po Lu , 38083@debbugs.gnu.org Received: via spool by 38083-submit@debbugs.gnu.org id=B38083.165304466626490 (code B ref 38083); Fri, 20 May 2022 11:05:02 +0000 Received: (at 38083) by debbugs.gnu.org; 20 May 2022 11:04:26 +0000 Received: from localhost ([127.0.0.1]:37749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Qk-0006tC-Dr for submit@debbugs.gnu.org; Fri, 20 May 2022 07:04:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Qj-0006sz-1L for 38083@debbugs.gnu.org; Fri, 20 May 2022 07:04:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=x06LZtPh2PobnGqZtB+x6TK1tNV429GgdEh5t4ibYbA=; b=AdgXXBG6LQicwLu8pCUPW/v/1v UK5eiCXIuE2tqZs1prnaQf8PXyUvD5l0NJS6JpIQ/sqU8xTzVitjpxqBzciHcK+Jj3Oc2ANTROFcO RF1PJPnJ+pfLBrw/9J8Y98WIS2Igx0+9N+7LFtBnO7//R9Gblye+Nx6YN5+fagZwW9DI=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ns0Qa-0006va-OV; Fri, 20 May 2022 13:04:19 +0200 From: Lars Ingebrigtsen References: X-Now-Playing: Sonoko's _La Debutante_: "Dreamy" Date: Fri, 20 May 2022 13:04:14 +0200 In-Reply-To: (Pankaj Jangid's message of "Wed, 06 Nov 2019 10:56:29 +0530") Message-ID: <874k1k4g9d.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Pankaj Jangid writes: > 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, > > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Pankaj Jangid writes: > 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]; [etc] I haven't checked whether these are still present in Emacs 29, but perhaps Po Lu has some input here; added to the CCs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 07:04:32 2022 Received: (at control) by debbugs.gnu.org; 20 May 2022 11:04:32 +0000 Received: from localhost ([127.0.0.1]:37752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Qq-0006tX-KU for submit@debbugs.gnu.org; Fri, 20 May 2022 07:04:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Qp-0006tA-3A for control@debbugs.gnu.org; Fri, 20 May 2022 07:04:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7CWn5bu/s/23tObexhvPEllJchT79TEjkAG3mrVy7Xg=; b=OttKAPY31chOY9DUvqPeY9qaGs cPv0ixqpQ4eX4G90EmL2fHgOZ95YX21YajorR5jlby7aJoA+HBf7IhHfovuJko1wTe9QFIKU5vafX DBe5ZJDwCH/ml1Qu7LErfIOeqLybgdBrlg/UP7WrI2VBE/nV3tmoO4enB8ED3RqWAdHc=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ns0Qh-0006vi-HT for control@debbugs.gnu.org; Fri, 20 May 2022 13:04:25 +0200 Date: Fri, 20 May 2022 13:04:20 +0200 Message-Id: <8735h44g97.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #38083 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 38083 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 38083 + moreinfo quit From unknown Sat Sep 13 02:39:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38083: 27.0.50; Deprecation warnings in NS build Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 11:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: Pankaj Jangid , 38083@debbugs.gnu.org Received: via spool by 38083-submit@debbugs.gnu.org id=B38083.165304759924434 (code B ref 38083); Fri, 20 May 2022 11:54:02 +0000 Received: (at 38083) by debbugs.gnu.org; 20 May 2022 11:53:19 +0000 Received: from localhost ([127.0.0.1]:37855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns1C3-0006M2-7b for submit@debbugs.gnu.org; Fri, 20 May 2022 07:53:19 -0400 Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:35986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns1C2-0006Lo-0L for 38083@debbugs.gnu.org; Fri, 20 May 2022 07:53:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653047592; bh=0psTDwkOS433mRrOoUb+l6G7H2adTK4ZNgAgnN5+tKc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=t3S8s/9uaWM01vS2oqAbYH0wqoLdetRCCwisffYO8REhcdjwRWjzFkHT8W9yNkKQ7UiAgqKA/XaOQqQ7IUHJnjdaagV2nnR6AMBvz4OGVUcYmoCkXDPbRjuOitfBq5q9jMiv1UUUh7ajMgBpRMped7Hvz8wqCEP7qY3TixhvLz7kktll9Y3e51qFzKoa/+B4jrhf8ofWwZUi+cHaidIuqap0a62IGpcPEq3nKPauKT6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giQLi3HDhlaKAUsnx85W9ezgqZMBU4CFPXSCfotObQSVQk5oc22TpQN jSwDe_YNTjvgjCyj9b56GDd6sMaRSr.6iRnjvffsc1mwPIJG3eyrCzyhqhLGYqXnZ2JGApPScWzV XmmAwVLELbPeE1_xVOOOlIwMPp9swsRr2..ctyTN1gOJ2jwU2TuVO4DsNCX0nJzwhElyhJEIgDoH sA8uhfHXzIa3ApTKMsqPBRKVPUrrB.fi7jdlAXoFoj.Y9SWF4W0HoSThOsltt27anUDO5NpRFvKS BksuayjKyTK2XmH8FqLTnRlIMYawjkhCzqsePctPNm3.HsAZ8ZAC9BxNdv4X3wQcKHJgpGMGwhWN 2rxDleOgg4a9NkYuHegZ0oMDxxwLJp4.ZWEUtnTvTH1kd3.bY5uDKqZ.nvWC0YBwDehRnKpwqVS4 YRCP5kqmpsLkeW6BElEliEzYvhOqr7HBfKP3B_fPnzIqEBnigNSaqdjGL9Wt4uFRFyGprawq4azb fTgzjLlH1uKqURhfjDXv1huMVAbcw0JbkRtiVN89pKnW_ulVnKHC9Hk_slfm9ye5G8GyhLFXaKif Ri2VcVan7152c7BHxmHbmcD7n.bEeAZ4_7.wKZp5xfk4tWUvDAM.zAYXC.i6bPohkqfe.Z.2o72p KaX8SUOlebeS_dBfrlCYYSjf8cmqwfEJ4G5EOy.1Bh7NU6AJldoUqm5R4BKsVKDhnlzF0wvJxeWt uKfAj5y0eqNrxv.WRuf15lqkEsD8icOufuQxgHrf9l.jE6alZcIZyVt4xPIktPdDHQmk- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Fri, 20 May 2022 11:53:12 +0000 Received: by hermes--canary-production-sg3-7959d4d9bd-b4hml (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9efc0aedbb49898f2b9b85c9e2b6c80a; Fri, 20 May 2022 11:53:05 +0000 (UTC) From: Po Lu References: <874k1k4g9d.fsf@gnus.org> Date: Fri, 20 May 2022 19:52:58 +0800 In-Reply-To: <874k1k4g9d.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 20 May 2022 13:04:14 +0200") Message-ID: <87ilq0whd1.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1925 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: >> 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]; > > [etc] > > I haven't checked whether these are still present in Emacs 29, but > perhaps Po Lu has some input here; added to the CCs. I don't know about the nsselect ones, but we have this in nsterm.m now: #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MIN_REQUIRED >= 101400 double scale = [[self window] backingScaleFactor]; CGContextRef context = [(EmacsLayer *)[self layer] getContext]; int bpp = CGBitmapContextGetBitsPerPixel (context) / 8; void *pixels = CGBitmapContextGetData (context); int rowSize = CGBitmapContextGetBytesPerRow (context); int srcRowSize = NSWidth (srcRect) * scale * bpp; void *srcPixels = (char *) pixels + (int) (NSMinY (srcRect) * scale * rowSize + NSMinX (srcRect) * scale * bpp); void *dstPixels = (char *) pixels + (int) (dest.y * scale * rowSize + dest.x * scale * bpp); if (NSIntersectsRect (srcRect, dstRect) && NSMinY (srcRect) < NSMinY (dstRect)) for (int y = NSHeight (srcRect) * scale - 1 ; y >= 0 ; y--) memmove ((char *) dstPixels + y * rowSize, (char *) srcPixels + y * rowSize, srcRowSize); else for (int y = 0 ; y < NSHeight (srcRect) * scale ; y++) memmove ((char *) dstPixels + y * rowSize, (char *) srcPixels + y * rowSize, srcRowSize); #else So we are off the hook now, since scrollRect is no longer used on Mac OS X 10.14 and later. From unknown Sat Sep 13 02:39:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38083: 27.0.50; Deprecation warnings in NS build Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 12:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Po Lu Cc: Pankaj Jangid , Lars Ingebrigtsen , 38083@debbugs.gnu.org Received: via spool by 38083-submit@debbugs.gnu.org id=B38083.165305037729286 (code B ref 38083); Fri, 20 May 2022 12:40:03 +0000 Received: (at 38083) by debbugs.gnu.org; 20 May 2022 12:39:37 +0000 Received: from localhost ([127.0.0.1]:37922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns1uq-0007cI-QR for submit@debbugs.gnu.org; Fri, 20 May 2022 08:39:36 -0400 Received: from mail-pl1-f176.google.com ([209.85.214.176]:40656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns1up-0007c6-C1 for 38083@debbugs.gnu.org; Fri, 20 May 2022 08:39:35 -0400 Received: by mail-pl1-f176.google.com with SMTP id i1so7250700plg.7 for <38083@debbugs.gnu.org>; Fri, 20 May 2022 05:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=mCg90q1ejB7ozRuRN+qJFDeio+NU/qoY5gM351fy2qo=; b=g7JIuudAD3YDIkYu38le/waoXsCJ/E+F0SBqRspR6REYf8ZjOodWuApe9G7fmInFWF c4e1yzjZTFDCwa4PpHjYqToYcFuqs35peP52htusXQqxWkDvDLNan8MBd3uwBHJ/9g2f S52kHzxZrSf/chBAKz2rH3DblLZqnyglgDGeAbzPCk+0XIlyrOwdC4/HUx+81tbrzn8n EYnWYbN3+XRKG0j72sLogC51b9aZ2afVgIBMpCMbuI8j2biHIngHrW7FJs/lKqbGhayd 3MtH3HlCmDJr77UIobc4pfKLAwOKcyRbiMkYJ9u4jYXCKEna8VjGrfNxNDPnBrPyzZf0 5w6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mCg90q1ejB7ozRuRN+qJFDeio+NU/qoY5gM351fy2qo=; b=lUJOytuYcEmhib6lCWsAcbBYNdJV22xTja3q5cCuPV58IR2nP6qXOmHUE8o2zv0teg V96T1DX5+GICt21lDcFcyyMSAWUOV59AT3nQo63gSKbpWWu0VEtFraKn3Qxn4DPyiF1e nRleEOiQZVK5snsY/eKHluV0tVZwg6J4kPyobQtm6wsRE/3Ek4HfomlUrgcOvmE9ytVL HSQTr+0zYcVWjb3/ibkZ7bgxfw0ZTdUfzbay8tZ+Zr4oFZ3Hx3zAiLYTo0p25c3VcAEo IZGCvx/FiE9XwZnHoF5BTd6QuBray+E22/0oeRhOj8iKyw8kyIWBy9tjMrpzDtHxiIDu L++g== X-Gm-Message-State: AOAM531asO11U5loZ9/hLQboMobRjl7p8cmGhiQFcwhRWhlQcHtqoA9e 1NCSXUgWcXP8Df+obicqS3Md6DfdwUCM X-Google-Smtp-Source: ABdhPJzD9kLmo1AvwbsoH4zmXC6s/vJ8Y9m+1Dkd+HO9C3OvYNAm7nz22nF78HSbSdto7HzhRwcKrg== X-Received: by 2002:a17:90b:4f91:b0:1cd:3a73:3a5d with SMTP id qe17-20020a17090b4f9100b001cd3a733a5dmr10859295pjb.98.1653050368962; Fri, 20 May 2022 05:39:28 -0700 (PDT) Received: from anant ([49.36.236.57]) by smtp.gmail.com with ESMTPSA id d7-20020a17090a2a4700b001deb92de665sm1848657pjg.46.2022.05.20.05.39.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 05:39:28 -0700 (PDT) From: Pankaj Jangid References: <874k1k4g9d.fsf@gnus.org> <87ilq0whd1.fsf@yahoo.com> Date: Fri, 20 May 2022 18:09:22 +0530 In-Reply-To: <87ilq0whd1.fsf@yahoo.com> (Po Lu's message of "Fri, 20 May 2022 19:52:58 +0800") Message-ID: <87h75kjs3p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) And I no longer use (and have access to) a Mac OS. So I cannot verify this bug report. Probably we can close it. From unknown Sat Sep 13 02:39:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38083: 27.0.50; Deprecation warnings in NS build Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 11:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Pankaj Jangid Cc: Po Lu , 38083@debbugs.gnu.org Received: via spool by 38083-submit@debbugs.gnu.org id=B38083.1653133599442 (code B ref 38083); Sat, 21 May 2022 11:47:02 +0000 Received: (at 38083) by debbugs.gnu.org; 21 May 2022 11:46:39 +0000 Received: from localhost ([127.0.0.1]:40812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsNZ8-00006i-KN for submit@debbugs.gnu.org; Sat, 21 May 2022 07:46:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsNZ6-0008SB-Le for 38083@debbugs.gnu.org; Sat, 21 May 2022 07:46:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Cj24v9vQjNYa5rF9tnc2MF/SB2a4hVeaUOZ/u38I1PY=; b=nKbetROnqed39Peup8k2S6+W3O LTromLXxNbsFNMwB+mjqi3ZZ9sADwG9/Xl/7ihmh9sal/XL0ondMZQ350WYLLdO/WNnl14kkfUkvc GREzyeTC53vxEW+weRcwXA5tdhLwjaLMwymjPvs/uiaAORMfe+M09X84dqX8Yi731EF4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsNYx-0002qb-Bg; Sat, 21 May 2022 13:46:30 +0200 From: Lars Ingebrigtsen References: <874k1k4g9d.fsf@gnus.org> <87ilq0whd1.fsf@yahoo.com> <87h75kjs3p.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAAAXNSR0IArs4c6QAAAAxQTFRF sLCwf39+MzMx////WgGxBQAAAAFiS0dEAxEMTPIAAAAHdElNRQfmBRULIyAqfMKqAAAA/ElEQVQo z33SO27DMAwAUMqIPHeIDdRH6CncIUsnBbAKJHuH6hQ9goe6Q2cpgHjKkvpyqgADfKAoi7QB/l/v 3z1eEO1agYjhXOKRgNakWDlG2BJOmNaF46c54+AjtreMwEWry0AuupYYL7Rvrtgpc6+IBoYfbILh twFhiDLDiAV0s0fLUDOEkGu4geN+FIDDXX888jZ6a3y9MTxhQksPrS/uyHnQDUtIY0jdwbjysGIe ljLauQqaW3T4WQY3o3/BOtIBzfNex6viupgOONdZw+ihfQRYvPhWLkqIjArXjhlDx01AW3GAtqe+ a7Kq3QU2+XtYESvCZAR6ptf8AXSIl74uHR0nAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTIx VDExOjM1OjMyKzAwOjAwQFCg4gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yMVQxMTozNToz MiswMDowMDENGF4AAAA4dEVYdGljYzpjb3B5cmlnaHQAQ29weXJpZ2h0IChjKSAxOTk4IEhld2xl dHQtUGFja2FyZCBDb21wYW55+Vd5NwAAACF0RVh0aWNjOmRlc2NyaXB0aW9uAHNSR0IgSUVDNjE5 NjYtMi4xV63aRwAAACZ0RVh0aWNjOm1hbnVmYWN0dXJlcgBJRUMgaHR0cDovL3d3dy5pZWMuY2gc fwBMAAAAN3RFWHRpY2M6bW9kZWwASUVDIDYxOTY2LTIuMSBEZWZhdWx0IFJHQiBjb2xvdXIgc3Bh Y2UgLSBzUkdCRFNIqQAAAABJRU5ErkJggg== X-Now-Playing: Kelly Lee Owens's _Inner Song_: "Re-Wild" Date: Sat, 21 May 2022 13:46:26 +0200 In-Reply-To: <87h75kjs3p.fsf@gmail.com> (Pankaj Jangid's message of "Fri, 20 May 2022 18:09:22 +0530") Message-ID: <87sfp3yup9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: I rooted out my Apple laptop (Macos 12.3.1, which is probably the newest?), and I get the following warnings: xwidget.c:491:19: warning: variable 'xw' set but not used [-Wunused-but-set-variable] struct xwidget *xw; ^ xwidget.c:493:23: warning: unused variable 'keycode' [-Wunused-variable] int character = -1, [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I rooted out my Apple laptop (Macos 12.3.1, which is probably the newest?), and I get the following warnings: xwidget.c:491:19: warning: variable 'xw' set but not used [-Wunused-but-set-variable] struct xwidget *xw; ^ xwidget.c:493:23: warning: unused variable 'keycode' [-Wunused-variable] int character = -1, keycode = -1; ^ xwidget.c:492:17: warning: variable 'f' set but not used [-Wunused-but-set-variable] struct frame *f = NULL; ^ xwidget.c:493:7: warning: unused variable 'character' [-Wunused-variable] int character = -1, keycode = -1; ^ xwidget.c:494:7: warning: unused variable 'modifiers' [-Wunused-variable] int modifiers = 0; ^ and the following deprecation warnings: nsfns.m:841:47: warning: 'iconForFileType:' is deprecated: first deprecated in macOS 12.0 - Use -[NSWorkspace iconForContentType:] instead. [-Wdeprecated-declarations] image = [[[NSWorkspace sharedWorkspace] iconForFileType: @"text"] retain]; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:456:1: note: 'iconForFileType:' has been explicitly marked deprecated here - (NSImage *)iconForFileType:(NSString *)fileType API_DEPRECATED("Use -[NSWorkspace iconForContentType:] instead.", macos(10.0, 12.0)); ^ nsfns.m:1760:12: warning: 'setAllowedFileTypes:' is deprecated: first deprecated in macOS 12.0 - Use -allowedContentTypes instead [-Wdeprecated-declarations] [panel setAllowedFileTypes: nil]; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: property 'allowedFileTypes' is declared deprecated here @property (nullable, copy) NSArray *allowedFileTypes API_DEPRECATED("Use -allowedContentTypes instead", macos(10.3,12.0)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: 'setAllowedFileTypes:' has been explicitly marked deprecated here nsfns.m:2599:11: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] if (IOMasterPort (MACH_PORT_NULL, &masterPort) != kIOReturnSuccess ^~~~~~~~~~~~ IOMainPort /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here IOMasterPort( mach_port_t bootstrapPort, ^ CC lastfile.o 3 warnings generated. nsxwidget.m:75:31: warning: 'plugInsEnabled' is deprecated: first deprecated in macOS 10.15 - Plug-ins are no longer supported [-Wdeprecated-declarations] configuration.preferences.plugInsEnabled = YES; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:84:28: note: 'plugInsEnabled' has been explicitly marked deprecated here @property (nonatomic) BOOL plugInsEnabled API_DEPRECATED("Plug-ins are no longer supported", macos(10.10, 10.15)); -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Sep 13 02:39:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38083: 27.0.50; Deprecation warnings in NS build Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: Pankaj Jangid , 38083@debbugs.gnu.org Received: via spool by 38083-submit@debbugs.gnu.org id=B38083.16531338443601 (code B ref 38083); Sat, 21 May 2022 11:51:02 +0000 Received: (at 38083) by debbugs.gnu.org; 21 May 2022 11:50:44 +0000 Received: from localhost ([127.0.0.1]:40817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsNd6-0000w0-8n for submit@debbugs.gnu.org; Sat, 21 May 2022 07:50:44 -0400 Received: from sonic311-23.consmr.mail.ne1.yahoo.com ([66.163.188.204]:45666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsNd4-0000vl-4J for 38083@debbugs.gnu.org; Sat, 21 May 2022 07:50:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653133836; bh=j5OvexBc91tbI7RjiYLds8XFEXvbkSV6aBwZ6IrRNkQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=NJK1Ra4xf8Lfr7/T9aFHXfodbz3r1QJl8LIe4yfPg3zhqbizdXYPXUGYOb4LIsdZKks4if8OKYLkR9Cjo1t61Hh5wUPpmE9vH9950H4dUKFecfnZulucFmQcOeNcX5cdKBQbyHztsRLMVUT4Wi8MqmATVBkNmFjpDWv2xo3aDW1nLWWPoUlQ4hjsrDacNjlt+leKRpHmosINegwZCocveTmc0uA1gAEiCQE7V/bDmovbsZdtm5PvlSSiV/9DyhXIQBvKSaFZyEfEgMcF5f3gwo+ea4iF4azzbnxqAoOJKp162gidwQVPHkjVSE16pqIbALldQMmrgJqC0c6R//oKBg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653133836; bh=LWjd00U5Stm8NhEcVKVeVIYWfbFqMq6PvooT473EKeR=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=pIhCAY9Aw6xgJp4N4yXeKcRI8zODA0c571km7MoFCET3+rRuCWG6HCZ+E2wEMQ1hkJMdubl1bxIgZrEPEpgySYPreh/8Kh8rHjOjy1GFTDODHqcBmZ/3XASSL7DlK0nUUD3visMm59SHsRnPgKKOg6ILTsBSMaf0C0KJMhcSVGwq4HTxwmdqd9ez97bFYTz1QAR6/unzj2ko/Bqpk2/mbsISov5lSb+5JcoC80tcxtmr6rznOMSQJOKgclEsDYicGYgG/tJ6GUkLqtODZL4dDn7bIpPKhzzTpi4uaywf9LPbOoWLCGfDePiRmgEVf6RZsbo4uRIF7C9cy7jwgb2ogQ== X-YMail-OSG: nJffLegVM1lO6ORVsECArmNHAYFkl7vodbsE9lnk1YSr8S2V1QdWZX.vCl_hE1O cjqzXodLJEZ5969bRghGBLL4q1qMpAxxGkJPqUNB8mhbKUYwmV3vUIAh38nQ8hJRefoaUoL9HiJf .5lPXVT.8eLtbTOvISDTvarqEdszm_rPgwnAn_1.6p4t.tDQ_GcFranZwYvGWwJ0mrMuijl.cWaS 1k1Sm.u27kSGVuhhMK4K9nmkC_gAUauZQSQQOrg5ZKfBaQXbHNqiqARQlhlysIFFu2wtP743gfLU D1axBjGaNzIMvLaxFbM8P_bJ142.dRjROjOmA0dxBRBukSiG1pfue.Nk3LvQ29Huuw6TXkNwLlYI tfYAirmrD4TNGFI.GFgJtV3veaugAxr0QnLkuMSFErmACW9jaZHJRtR8_vInIfoYQqoZpI2q4eL5 Qpct1Gl2zBOXqJlQnDw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T5lhMg6FEFUJVg9Wrvx.W0nzOAZnmry28V4jhso .S8xEnEf09o_bCj24_xAAJyw3WKhByiPt4kRn8SOB8NdqbGX.BX5y6qvg3S6fKBHtlmt50NcYa5h XqF3OCuwK9ev6.VFD06AfL_aPTvlxOqSAhsQ5ahSxEpxRVsSTy0VE5sqbb4xGz_DOoizazpnN8YV 29Var0N57bknPyLwk8F3xWGNebMI5vBeXjdMUYbi1wTH3HxRzRN7fAPJfpcQ.2z1Dy_CTHIoY5xU Hm30cqGJn2EJcz8bvx5JNRsIxC9LPsxyQXbzqSTHIoxdDDc.kW8bJyDXeSA___9RZLm1qlJjlVsW cXutH0597fti1GfARZNFl81PDNhg5PkV9qJojJHmdCWssI9hnSMAqxfuNDshbcdLE39uv4m1X7mP ddf.bh2d4nTQNLc7PyI4t3I7phDqcBECiulOfUnwAMtHenGhO_24dBd25nGa5SL1XWE7WW89tkbP xFJjaW9AL4CJllFArXE6irywAPA8bFrdIRqfzl9rPC4cdRFDmmQeYpmDO0mrj9bOLL7hir9B38.m lwS76SQr2Mdk7fvukCtM5qSCxSvknvoJVZbgs1pRkJvJvGiUBcYHp_873eJiacLNEhjo8rgZcK5u HEbErByARES7YSoP6j4DP.ITtHhbjTggvWRNU3et6DfQ_Rh3JD_hwZyJlpVsvn_Kz6jPrn1BSgoy nbD4xi44ZAGLTqFf7DVpXTas.ZHt3bQcmkRxscvYdGjj9Ky79dUYOMw2.Ppqh X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sat, 21 May 2022 11:50:36 +0000 Received: by hermes--canary-production-sg3-7959d4d9bd-b4hml (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 87f1ec905b395a1f8bb325e1e7300ff8; Sat, 21 May 2022 11:50:33 +0000 (UTC) From: Po Lu References: <874k1k4g9d.fsf@gnus.org> <87ilq0whd1.fsf@yahoo.com> <87h75kjs3p.fsf@gmail.com> <87sfp3yup9.fsf@gnus.org> Date: Sat, 21 May 2022 19:50:29 +0800 In-Reply-To: <87sfp3yup9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 21 May 2022 13:46:26 +0200") Message-ID: <878rqvt88q.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 3142 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > I rooted out my Apple laptop (Macos 12.3.1, which is probably the > newest?), and I get the following warnings: > > xwidget.c:491:19: warning: variable 'xw' set but not used [-Wunused-but-set-variable] > struct xwidget *xw; > ^ > xwidget.c:493:23: warning: unused variable 'keycode' [-Wunused-variable] > int character = -1, keycode = -1; > ^ > xwidget.c:492:17: warning: variable 'f' set but not used [-Wunused-but-set-variable] > struct frame *f = NULL; > ^ > xwidget.c:493:7: warning: unused variable 'character' [-Wunused-variable] > int character = -1, keycode = -1; > ^ > xwidget.c:494:7: warning: unused variable 'modifiers' [-Wunused-variable] > int modifiers = 0; > ^ The NS xwidget implementation is currently completely broken. I wrote that in etc/TODO, and patches are welcome, since I don't know my way around the Mac OS WebKit APIs. > nsfns.m:841:47: warning: 'iconForFileType:' is deprecated: first deprecated in macOS 12.0 - Use -[NSWorkspace iconForContentType:] instead. [-Wdeprecated-declarations] > image = [[[NSWorkspace sharedWorkspace] iconForFileType: @"text"] retain]; > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:456:1: note: 'iconForFileType:' has been explicitly marked deprecated here > - (NSImage *)iconForFileType:(NSString *)fileType API_DEPRECATED("Use -[NSWorkspace iconForContentType:] instead.", macos(10.0, 12.0)); > ^ > nsfns.m:1760:12: warning: 'setAllowedFileTypes:' is deprecated: first deprecated in macOS 12.0 - Use -allowedContentTypes instead [-Wdeprecated-declarations] > [panel setAllowedFileTypes: nil]; > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: property 'allowedFileTypes' is declared deprecated here > @property (nullable, copy) NSArray *allowedFileTypes API_DEPRECATED("Use -allowedContentTypes instead", macos(10.3,12.0)); > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: 'setAllowedFileTypes:' has been explicitly marked deprecated here > nsfns.m:2599:11: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] > if (IOMasterPort (MACH_PORT_NULL, &masterPort) != kIOReturnSuccess > ^~~~~~~~~~~~ > IOMainPort > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here > IOMasterPort( mach_port_t bootstrapPort, > ^ > CC lastfile.o > 3 warnings generated. I will look into the others, thanks. From unknown Sat Sep 13 02:39:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38083: 27.0.50; Deprecation warnings in NS build Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 13:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Po Lu Cc: Pankaj Jangid , 38083@debbugs.gnu.org Received: via spool by 38083-submit@debbugs.gnu.org id=B38083.165313961022479 (code B ref 38083); Sat, 21 May 2022 13:27:03 +0000 Received: (at 38083) by debbugs.gnu.org; 21 May 2022 13:26:50 +0000 Received: from localhost ([127.0.0.1]:40991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP86-0005qV-0W for submit@debbugs.gnu.org; Sat, 21 May 2022 09:26:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP84-0005qH-DF for 38083@debbugs.gnu.org; Sat, 21 May 2022 09:26:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iQn32zaGrOhf33hsV1400SHueblgmwKYr59Kx23UbE4=; b=UgsZ+JFqjSTWlio4rVRpuuyksb r84sU4IeqEAJA3KSmlk6yAf8uTwS7PzX1dOktr0xCIopezmMH+DLbdLTtluIXBSkJ65mtkF5lxo3p 2PUQAAVlzkXXekYxh4a664fjJj7bIqnHWWwGPsaXi+fNSrflZKecI40Lir6CDuBBvIvs=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsP7u-0003fM-Hf; Sat, 21 May 2022 15:26:40 +0200 From: Lars Ingebrigtsen References: <874k1k4g9d.fsf@gnus.org> <87ilq0whd1.fsf@yahoo.com> <87h75kjs3p.fsf@gmail.com> <87sfp3yup9.fsf@gnus.org> <878rqvt88q.fsf@yahoo.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWRglmxqaXs6uk4 MSr////Za8C4AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFFQ0UCfxEhkAAAAGZSURBVDjLnZTLYcQg DETF0gCCBhBuQKz67y0ahB17k1zCBeyHfoOAiOr4bdB/QPJJBjNjXrtEuJLZ5JpbMzPVYgqAD8qW HBxYr6HFfwGYOmjtAucgcsAPkO+g3MDs/scdUuJx8A1oS55rgJ4eMfLK6g6UyxXcyEvrM0Cq4ruV sH8BOQEjWB08xEECOML3DODCUEa6I0CyufIViAhJuAaAapigJKkl14SOSKpKQwoAlmERwEhhMjeY DlpYkKKOOQKoB3fwzqamS0GclR+UMVS0Iaewni8A0iKrHXFTkCoONOfZNbtc0raBGzN7usUjUi3a iTaoAr00IWgvKom3ySxQ1x0rZQBPIsALrvYBd1L01QarjhiiS7pQ/30H9lpNuKLM1aKuFfJGmVxH 38BjUF1NS+whK8pHIagjul1YossXWf1zAt79H+1NcLVBvZnYDZS0TT5B1nAm+QkK7sMaVycGaNiF i1c+AFrTS/UC8hNgvSrNT3D40URw3CH9AJfTmR8g8en03W7ANkCBr28gpyJr7W/DCX6+JX+BL8IS lI6nN0lvAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTIxVDEzOjIwOjA5KzAwOjAwiyNSNAAA ACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yMVQxMzoyMDowOSswMDowMPp+6ogAAAAASUVORK5C YII= X-Now-Playing: Bobbie Gentry's _The Girl From Chickasaw County (5): Touch 'Em With Love_: "Son of a Preacher Man" Date: Sat, 21 May 2022 15:26:38 +0200 In-Reply-To: <878rqvt88q.fsf@yahoo.com> (Po Lu's message of "Sat, 21 May 2022 19:50:29 +0800") Message-ID: <87h75jxbht.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Po Lu writes: >> 3 warnings generated. > > I will look into the others, thanks. Thanks. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Po Lu writes: >> 3 warnings generated. > > I will look into the others, thanks. Thanks. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Sep 13 02:39:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38083: 27.0.50; Deprecation warnings in NS build Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2022 03:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: Pankaj Jangid , 38083@debbugs.gnu.org Received: via spool by 38083-submit@debbugs.gnu.org id=B38083.165318885423350 (code B ref 38083); Sun, 22 May 2022 03:08:02 +0000 Received: (at 38083) by debbugs.gnu.org; 22 May 2022 03:07:34 +0000 Received: from localhost ([127.0.0.1]:43331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsbwL-00064Y-Sv for submit@debbugs.gnu.org; Sat, 21 May 2022 23:07:34 -0400 Received: from sonic302-20.consmr.mail.ne1.yahoo.com ([66.163.186.146]:37175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsbwJ-00064F-2o for 38083@debbugs.gnu.org; Sat, 21 May 2022 23:07:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653188843; bh=zNgUsDjgPWKt9aHhl3E6zl5amDjkyt2jBRmsPsj/k9U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=cGwrukAB4X6AwTdINBaf0nKvvXmHu7iPb3oLYxJKw5pKoVCB0dFTfVxx3wzadicS1rEntf56v7s/2j+lCnqVx4qzVvqhxQ1kI7IulKvQimQIer6EOVH+hPztxiJBvoaIe+mABL/qy31NgKYJk/Qw6GJJlweargybWzjN/m3OqfcFajQhe8ERWbDfQEkn+2CNsyA6YqZP/LIWmrjtkt64EWlk04RfOpi/3JZZjBPTLVRZAnVFRoXWokPVJIjUR04I1iY/V+fcFeDWL/JfJoK+j6Zn/DhqEtokXiPbCYhC6Ozy+D7tQ+3sBJYTAeyvnqZzgqt1wc4eCzmlXo0GHlXgjQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653188843; bh=uwfQ794Yz7X2UdEEvysNv/DEADgMlJkES99Y1xMwslG=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=H9ceQS7Cl+f9bcq+XAShaR5qlLfCw08qCyWmSpxT2laEeEVY7P4QXFRb3FDrtwnYvePoUeyAfPX3bsiAfx+HNFvjRBXTUKACGaS3khv0q2XRIUsQjd7t3vsRKObEWgZ+z7/Dt1a/81qeqZWGzlz368C2vbv1jaLhJDij7E2bbmC9fWpTuTJavwg0PHiGzh/8IZ3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qywFIe4C6oKhzBz9CGNLR.r7.dUOpPIekQHFLQ67T2Aah2TqyEpHLQJr7qA1JX K6KjRxL0jladlycUcY0ZDV4c_BQGYXtg12NBJuWKGryJ5Ly7HDVDs8dE0s9MiVxQDwI40DA8kVWb opbZqXG8gTTSkdJcqTFvLiSVpYiWCwf_P78mylwtIu5cBPkfj8IfGCpBOzVI5RcIBXh6okGJiKWN PQ19S5dcD9LNkAHJaBl6or6uew4mmiSrdVx6i_BxerRDSv3PgyyrmG64_ygp.NA8rP3Kgi69MB3O cufogrH8kKz2l6gFqv8pQYYmXwbiS5I13.cPm25___nbEVO4EbwP9cPnyJ8UtfGE- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Sun, 22 May 2022 03:07:23 +0000 Received: by hermes--canary-production-sg3-7959d4d9bd-bjkcg (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d305927af859b35575a20db288602266; Sun, 22 May 2022 03:07:16 +0000 (UTC) From: Po Lu References: <874k1k4g9d.fsf@gnus.org> <87ilq0whd1.fsf@yahoo.com> <87h75kjs3p.fsf@gmail.com> <87sfp3yup9.fsf@gnus.org> Date: Sun, 22 May 2022 11:07:11 +0800 In-Reply-To: <87sfp3yup9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 21 May 2022 13:46:26 +0200") Message-ID: <87ee0ms1sw.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 3657 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > I rooted out my Apple laptop (Macos 12.3.1, which is probably the > newest?), and I get the following warnings: > > xwidget.c:491:19: warning: variable 'xw' set but not used [-Wunused-but-set-variable] > struct xwidget *xw; > ^ > xwidget.c:493:23: warning: unused variable 'keycode' [-Wunused-variable] > int character = -1, keycode = -1; > ^ > xwidget.c:492:17: warning: variable 'f' set but not used [-Wunused-but-set-variable] > struct frame *f = NULL; > ^ > xwidget.c:493:7: warning: unused variable 'character' [-Wunused-variable] > int character = -1, keycode = -1; > ^ > xwidget.c:494:7: warning: unused variable 'modifiers' [-Wunused-variable] > int modifiers = 0; > ^ > and the following deprecation warnings: > > nsfns.m:841:47: warning: 'iconForFileType:' is deprecated: first deprecated in macOS 12.0 - Use -[NSWorkspace iconForContentType:] instead. [-Wdeprecated-declarations] > image = [[[NSWorkspace sharedWorkspace] iconForFileType: @"text"] retain]; > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWorkspace.h:456:1: note: 'iconForFileType:' has been explicitly marked deprecated here > - (NSImage *)iconForFileType:(NSString *)fileType API_DEPRECATED("Use -[NSWorkspace iconForContentType:] instead.", macos(10.0, 12.0)); > ^ > nsfns.m:1760:12: warning: 'setAllowedFileTypes:' is deprecated: first deprecated in macOS 12.0 - Use -allowedContentTypes instead [-Wdeprecated-declarations] > [panel setAllowedFileTypes: nil]; > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: property 'allowedFileTypes' is declared deprecated here > @property (nullable, copy) NSArray *allowedFileTypes API_DEPRECATED("Use -allowedContentTypes instead", macos(10.3,12.0)); > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSSavePanel.h:215:49: note: 'setAllowedFileTypes:' has been explicitly marked deprecated here > nsfns.m:2599:11: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] > if (IOMasterPort (MACH_PORT_NULL, &masterPort) != kIOReturnSuccess > ^~~~~~~~~~~~ > IOMainPort > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here > IOMasterPort( mach_port_t bootstrapPort, > ^ > CC lastfile.o > 3 warnings generated. > nsxwidget.m:75:31: warning: 'plugInsEnabled' is deprecated: first deprecated in macOS 10.15 - Plug-ins are no longer supported [-Wdeprecated-declarations] > configuration.preferences.plugInsEnabled = YES; > ^ > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h:84:28: note: 'plugInsEnabled' has been explicitly marked deprecated here > @property (nonatomic) BOOL plugInsEnabled API_DEPRECATED("Plug-ins are no longer supported", macos(10.10, 10.15)); These should be fixed now, aside from the ones in the xwidget code. Please test. From unknown Sat Sep 13 02:39:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38083: 27.0.50; Deprecation warnings in NS build Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 May 2022 11:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Po Lu Cc: Pankaj Jangid , 38083@debbugs.gnu.org Received: via spool by 38083-submit@debbugs.gnu.org id=B38083.165321847027271 (code B ref 38083); Sun, 22 May 2022 11:22:02 +0000 Received: (at 38083) by debbugs.gnu.org; 22 May 2022 11:21:10 +0000 Received: from localhost ([127.0.0.1]:43756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsje1-00075n-Mm for submit@debbugs.gnu.org; Sun, 22 May 2022 07:21:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsje0-00075T-0r for 38083@debbugs.gnu.org; Sun, 22 May 2022 07:21:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=w2l1Nx8YFKnTaKBZuADur1R/Thj/dYIGHVj7Gu1iDEQ=; b=PSN76UtSqpvJquzPbRuKjmUOd1 banZrBRoHcFlXgvYftJ3tJyyx6oc/42GbBPBnhsjofNV0CeMLGBYhmon3Av/NCFUcEUvox7IjY47E bdCNMD3lUeo9fsCz81/yy9C2HTPSseAgZu0WiquV6xHZpD8PHeD8+Ux0wad1mBpz4pxQ=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsjdr-0005Xp-H1; Sun, 22 May 2022 13:21:01 +0200 From: Lars Ingebrigtsen References: <874k1k4g9d.fsf@gnus.org> <87ilq0whd1.fsf@yahoo.com> <87h75kjs3p.fsf@gmail.com> <87sfp3yup9.fsf@gnus.org> <87ee0ms1sw.fsf@yahoo.com> X-Now-Playing: The Names's _Swimming_: "The Fire" Date: Sun, 22 May 2022 13:20:58 +0200 In-Reply-To: <87ee0ms1sw.fsf@yahoo.com> (Po Lu's message of "Sun, 22 May 2022 11:07:11 +0800") Message-ID: <87ee0lx17p.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Po Lu writes: > These should be fixed now, aside from the ones in the xwidget code. > Please test. Thanks; I can confirm that the warnings are gone, so I'm closing this bug report. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Po Lu writes: > These should be fixed now, aside from the ones in the xwidget code. > Please test. Thanks; I can confirm that the warnings are gone, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 22 07:21:17 2022 Received: (at control) by debbugs.gnu.org; 22 May 2022 11:21:17 +0000 Received: from localhost ([127.0.0.1]:43759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsje8-000768-Tg for submit@debbugs.gnu.org; Sun, 22 May 2022 07:21:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsje7-00075v-Ih for control@debbugs.gnu.org; Sun, 22 May 2022 07:21:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rpRCLDGNRn5hgNaR5141Vzw749sTbym6it0XqoVAl1M=; b=RjLDpzzQywnjc3pdYQsv9LTSQv DLXnPYHP12vISu+naHFzlb17PoYfPz4cNurdbHz7LzmrlB2n2SdjDyoMQUW1VrZhCzkq3BiCn8uhL ejaVdlsrxGNz93Nl5Pcsxy9S7EKrZ7hTMwUMjhgAKYSvC7T2gOTovnf5sAG444CaDgZE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsjdz-0005Y3-QQ for control@debbugs.gnu.org; Sun, 22 May 2022 13:21:09 +0200 Date: Sun, 22 May 2022 13:21:06 +0200 Message-Id: <87czg5x17h.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #38083 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 38083 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 38083 29.1 quit