From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Getting ready to land native-compilation on master Date: Wed, 14 Apr 2021 18:02:15 +0300 Message-ID: <83h7k8zz7s.fsf@gnu.org> References: <83v98v7dzs.fsf@gnu.org> <87y2dl9p2k.fsf@posteo.net> <878s5l9msq.fsf@posteo.net> <83zgy1ywja.fsf@gnu.org> <874kg99g6v.fsf@posteo.net> <83r1jdyptp.fsf@gnu.org> <87k0p5c6ep.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36086"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, emacs-devel@gnu.org, stefan@marxist.se, akrl@sdf.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 14 17:03:34 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lWh3F-0009Fz-V2 for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Apr 2021 17:03:33 +0200 Original-Received: from localhost ([::1]:47824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWh3E-0002Gx-TA for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Apr 2021 11:03:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWh2L-0001VH-MY for emacs-devel@gnu.org; Wed, 14 Apr 2021 11:02:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45027) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWh2K-0006zV-TW; Wed, 14 Apr 2021 11:02:36 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3634 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lWh2G-0000b5-BP; Wed, 14 Apr 2021 11:02:35 -0400 In-Reply-To: (message from Stefan Monnier on Wed, 14 Apr 2021 10:50:45 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268053 Archived-At: > From: Stefan Monnier > Cc: Philip Kaludercic , Eli Zaretskii , > akrl@sdf.org, emacs-devel@gnu.org > Date: Wed, 14 Apr 2021 10:50:45 -0400 > > >> The difference being that this is not generated when the package is > >> installed, but suddenly appears in a buffer. > > > > This shouldn't be a problem once we flip > > `comp-async-report-warnings-errors' to nil by default. AFAIK, the plan > > is to do that in time for Emacs 28. As others have explained, we keep > > it set to t for now as it indicates real problems. > > The warnings mentioned in this thread are those we normally see when we > byte-compile the file, which should be a separate step from the async > compilation to native code, so AFAICT showing those warnings during > native compilation is not very useful They are useful because native compilation frequently flags issues that byte compilation doesn't (because the former happens in a more pristine environment than the latter).