[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46256: [feature/native-comp] AOT eln files ignored if run from build
From: |
Eli Zaretskii |
Subject: |
bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree |
Date: |
Wed, 03 Mar 2021 22:13:05 +0200 |
> From: Andrea Corallo <akrl@sdf.org>
> Cc: andrewjmoreton@gmail.com, 46256@debbugs.gnu.org
> Date: Wed, 03 Mar 2021 19:37:52 +0000
>
> > comp.c: In function 'eln_load_path_final_clean_up':
> > comp.c:4514:15: warning: trampoline generated for nested function
> > 'return_nil' [-Wtrampolines]
> > 4514 | Lisp_Object return_nil (Lisp_Object arg) { return Qnil; }
> > | ^~~~~~~~~~
> >
> > Why do we need this nested function on Windows, and what is the story
> > about the trampoline? And how to avoid the warning?
> >
> > Thanks.
>
> This nested function was nested only to save some ifdefs (as it's used
> only in Windows ifdefed code). Didn't know it could cause warnings,
> I've made it a regular function with cf37850e2d.
Thanks, the warning is gone now.
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree, (continued)
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree, Eli Zaretskii, 2021/03/08
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree, Pip Cet, 2021/03/08
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree, Eli Zaretskii, 2021/03/08
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree, Eli Zaretskii, 2021/03/03
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree, Eli Zaretskii, 2021/03/03
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree, Andrea Corallo, 2021/03/03
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree, Eli Zaretskii, 2021/03/03
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree, Andrea Corallo, 2021/03/03
- bug#46256: [feature/native-comp] AOT eln files ignored if run from build tree,
Eli Zaretskii <=