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: Warnings: Native VS Byte Compiler Date: Thu, 06 May 2021 07:55:10 +0300 Message-ID: <835yzwfolt.fsf@gnu.org> References: <20210505214501.CE6A9C217FD@raman-glaptop.localdomain> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35470"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 06 06:56:07 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 1leW3S-00095w-KO for ged-emacs-devel@m.gmane-mx.org; Thu, 06 May 2021 06:56:06 +0200 Original-Received: from localhost ([::1]:59596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leW3R-0007RM-7D for ged-emacs-devel@m.gmane-mx.org; Thu, 06 May 2021 00:56:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leW2j-0006vn-HN for emacs-devel@gnu.org; Thu, 06 May 2021 00:55:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40608) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leW2j-00034P-8u; Thu, 06 May 2021 00:55:21 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3067 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1leW2h-0002CT-Hy; Thu, 06 May 2021 00:55:21 -0400 In-Reply-To: <20210505214501.CE6A9C217FD@raman-glaptop.localdomain> 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:268946 Archived-At: > From: "T.V Raman" > Date: Wed, 5 May 2021 14:45:01 -0700 (PDT) > > I notice in the *warnings* buffer after starting with native-comp > enabled: > > Warnings that dont show up when using byte compilation examples > include constructor functions generated by cl-defstruct for instance. This is a known issue. > Would be good to make spurious warnings go away so one can focus on > the real ones; native compilation may well be catching things that are > not always defined at the right time and fixing those may well be > benefitial from a package-author standpoint. They aren't spurious warnings, they are real warnings about real problems in our Lisp code. It's just that native compilation catches more of them. We should fix all of them. So please report each such warning as a bug.