From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#63302: 29.0.90; Native comp does not respect byte-compile-warnings Date: Wed, 10 May 2023 11:53:12 +0000 Message-ID: References: <83ild6j4k9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39179"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , 63302@debbugs.gnu.org To: Jimmy Yuen Ho Wong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 10 13:54:11 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pwiOY-000A41-Sc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 May 2023 13:54:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwiOR-0006hk-V6; Wed, 10 May 2023 07:54:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwiOQ-0006gT-PO for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 07:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwiOQ-0001YP-3z for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 07:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwiOP-0002ln-QA for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 07:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 May 2023 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63302 X-GNU-PR-Package: emacs Original-Received: via spool by 63302-submit@debbugs.gnu.org id=B63302.168371959710593 (code B ref 63302); Wed, 10 May 2023 11:54:01 +0000 Original-Received: (at 63302) by debbugs.gnu.org; 10 May 2023 11:53:17 +0000 Original-Received: from localhost ([127.0.0.1]:45420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwiNg-0002kn-Ot for submit@debbugs.gnu.org; Wed, 10 May 2023 07:53:17 -0400 Original-Received: from ma.sdf.org ([205.166.94.33]:54294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwiNe-0002kf-Ti for 63302@debbugs.gnu.org; Wed, 10 May 2023 07:53:15 -0400 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1pwiNc-0003x7-MQ; Wed, 10 May 2023 11:53:12 +0000 In-Reply-To: (Jimmy Yuen Ho Wong's message of "Sat, 6 May 2023 17:52:35 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261486 Archived-At: --=-=-= Content-Type: text/plain Jimmy Yuen Ho Wong writes: > Yes I'm talking about nativecomp. > > Reproduction: > > 1. (setq package-native-compile t) > 2. (setq byte-compile-warnings '(not docstrings docstrings-non-ascii-quotes)) > 3. (setq native-comp-async-report-warnings-errors 'silent) > 4. M-x package-install ov > 5. Observe the differences between the *Compile-Log* buffer and the *Warnings* buffer. > > Jimmy Hi Jimmy, could you try the attached and report if it solves the reported issue? Best Regards Andrea --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=warning.patch diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 025d21631bb..d7a60b9f007 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3732,6 +3732,7 @@ comp-final ',native-comp-compiler-options native-comp-driver-options ',native-comp-driver-options + byte-compile-warnings ',byte-compile-warnings load-path ',load-path) ,native-comp-async-env-modifier-form (message "Compiling %s..." ',output) @@ -4004,6 +4005,7 @@ comp-run-async-workers native-comp-driver-options load-path backtrace-line-length + byte-compile-warnings ;; package-load-list ;; package-user-dir ;; package-directory-list --=-=-=--