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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21963: Spurious byte compile message: "Warning: the function `bar' m


From: Eli Zaretskii
Subject: bug#21963: Spurious byte compile message: "Warning: the function `bar' might not be defined at runtime."
Date: Fri, 20 Nov 2015 16:48:13 +0200

> Date: Fri, 20 Nov 2015 11:40:50 +0000
> Cc: 21963@debbugs.gnu.org
> From: Alan Mackenzie <acm@muc.de>
> 
> > eval-when-compile has no effect at run time, and the warning is
> > explicitly about what might happen at runtime.
> 
> > IOW, I don't think this is a bug.
> 
> It is, at the very least, puzzling behaviour.  The warning is issued for
> a function that most definitely has been defined at runtime.

No, it was not (or, more accurately, will not be).  'eval-when-compile'
does nothing to make sure it will be defined at runtime; you need
either 'require' or 'eval-and-compile'.





reply via email to

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