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: Native Compile: Example Of Possibly Spurious Warning Date: Mon, 17 May 2021 17:16:10 +0300 Message-ID: <83cztptphx.fsf@gnu.org> References: <20210516205102.286BDC21098@raman-glaptop.localdomain> <83y2cducdp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10965"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "T.V Raman" , Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 17 16:16:57 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 1lie3D-0002dX-VV for ged-emacs-devel@m.gmane-mx.org; Mon, 17 May 2021 16:16:55 +0200 Original-Received: from localhost ([::1]:47286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lie3C-0005wv-Pn for ged-emacs-devel@m.gmane-mx.org; Mon, 17 May 2021 10:16:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lie2Q-0005Eq-Qa for emacs-devel@gnu.org; Mon, 17 May 2021 10:16:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43644) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lie2P-0007Yb-HT; Mon, 17 May 2021 10:16:05 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3709 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lie2P-0004fL-4a; Mon, 17 May 2021 10:16:05 -0400 In-Reply-To: (raman@google.com) 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:269406 Archived-At: > From: "T.V Raman" > Cc: emacs-devel@gnu.org > Date: Mon, 17 May 2021 06:58:17 -0700 > > Eli Zaretskii writes: > > > All of the spurious warnings I'm seeing dont appear in batch compilation > with batch-byte-compile. > Here is the file on Github: > > https://github.com/tvraman/emacspeak/blob/master/lisp/emacspeak-preamble.el#L91 I hope Andrea will look into this and tell what causes the error (my guess is some other file this one loads or requires, but that's just a guess). > Separately: when I batch-byte-compile emacspeak, I pass in commandline > flags that loads emacspeak-loaddefs.el (analogous to Emacs' own > loaddefs.el) > is it possible to batch-native-compile (that function does exist) but I > have no idea where the generated files end up ie if they go somewhere > different than when generated from a running Emacs. They should all go to ~/.emacs.d/eln-cache/.