[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Native-comp branch compilation error on Windows
From: |
Eli Zaretskii |
Subject: |
Re: Native-comp branch compilation error on Windows |
Date: |
Thu, 17 Dec 2020 22:43:36 +0200 |
> Date: Thu, 17 Dec 2020 19:51:19 +0000
> Cc: emacs-devel@gnu.org
> From: Andrea Corallo via "Emacs development discussions."
> <emacs-devel@gnu.org>
>
> > 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?