GNU bug report logs - #46256
[feature/native-comp] AOT eln files ignored if run from build tree

Previous Next

Package: emacs;

Reported by: Andy Moreton <andrewjmoreton <at> gmail.com>

Date: Tue, 2 Feb 2021 11:12:02 UTC

Severity: normal

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andrea Corallo <akrl <at> sdf.org>
Cc: 46256 <at> debbugs.gnu.org, andrewjmoreton <at> gmail.com
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 <at> sdf.org>
> Cc: andrewjmoreton <at> gmail.com, 46256 <at> 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.




This bug report was last modified 4 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.