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-comp branch compilation error on Windows Date: Thu, 17 Dec 2020 22:43:36 +0200 Message-ID: <83eejo6u4n.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40680"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gongyi.liao@gmail.com, emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 17 21:44:20 2020 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 1kq08K-000AU4-JM for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Dec 2020 21:44:20 +0100 Original-Received: from localhost ([::1]:36522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq08J-0002ow-KK for ged-emacs-devel@m.gmane-mx.org; Thu, 17 Dec 2020 15:44:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq07e-0002Lh-Jj for emacs-devel@gnu.org; Thu, 17 Dec 2020 15:43:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59737) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq07e-000850-19; Thu, 17 Dec 2020 15:43:38 -0500 Original-Received: from [176.228.60.248] (port=3964 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kq07d-0002MF-9Q; Thu, 17 Dec 2020 15:43:37 -0500 In-Reply-To: (emacs-devel@gnu.org) 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:261134 Archived-At: > Date: Thu, 17 Dec 2020 19:51:19 +0000 > Cc: emacs-devel@gnu.org > From: Andrea Corallo via "Emacs development discussions." > > > comp.c: In function 'Fcomp_el_to_eln_filename': > > comp.c:4110:36: error: expected ')' before 'PATH_REL_LOADSEARCH' > > 4110 | Fregexp_quote (build_string ("/" PATH_REL_LOADSEARCH "/"))); > > | ^~~~~~~~~~~~~~~~~~~~ > > | ) > > comp.c: In function 'Fcomp__compile_ctxt_to_file': > > comp.c:4458:12: warning: unused variable 'oldset' [-Wunused-variable] > > 4458 | sigset_t oldset; > > | ^~~~~~ > > Hi Liāu, > > please open a bug with M-x report-emacs-bug adding into the subject > [feature/native-comp]. > > Also if you could attach to the bug your src/epaths.h this will be > helpful. I don't see that the branch updated nt/epaths.nt (and in top-level Makefile.in), without which nothing useful can happen with PATH_REL_LOADSEARCH. And if PATH_REL_LOADSEARCH is defined on MS-Windows like I think it should, you will probably have problems using it in a regex, because it will include the unexpanded %emacs_dir% part?