bug-gnu-emacs
[Top][All Lists]
Advanced

[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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]