[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: byte compiler warnings when bootstrapping
From: |
David Kastrup |
Subject: |
Re: byte compiler warnings when bootstrapping |
Date: |
Sun, 21 Oct 2007 20:44:49 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Dan Nicolaescu <address@hidden> writes:
> David Kastrup <address@hidden> writes:
>
> > Dan Nicolaescu <address@hidden> writes:
> >
> > > Stefan Monnier <address@hidden> writes:
> > >
> > > > > With that and with adding a few more (eval-when-compile
> > > > > (require 'blah))
> > > >
> > > > What is the use of (eval-when-compile (require 'blah)) in
> > > > this context? I expect it's the wrong solution.
> > >
> > > When the number of warnings for undefined functions is too high it
> > > might be better to just require the package that defines them. But you
> > > might be right...
> >
> > But how do the functions actually get defined at runtime?
>
> Autoloading
>
> (defun foo ()
> (info)
> (Info-read-node-name) <- this gets a byte compiler a warning,
That is not a good idea since it relies on info and
Info-read-node-name being loaded from the same file.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- byte compiler warnings when bootstrapping, Dan Nicolaescu, 2007/10/21
- Re: byte compiler warnings when bootstrapping, Stefan Monnier, 2007/10/21
- Re: byte compiler warnings when bootstrapping, Stefan Monnier, 2007/10/21
- Re: byte compiler warnings when bootstrapping, Bob Rogers, 2007/10/21
- Re: byte compiler warnings when bootstrapping, Richard Stallman, 2007/10/23
- Re: byte compiler warnings when bootstrapping, Richard Stallman, 2007/10/23
- Re: byte compiler warnings when bootstrapping, Stefan Monnier, 2007/10/23
- Re: byte compiler warnings when bootstrapping, Richard Stallman, 2007/10/23
- Re: byte compiler warnings when bootstrapping, Stefan Monnier, 2007/10/23
- Re: byte compiler warnings when bootstrapping, Richard Stallman, 2007/10/24
- Re: byte compiler warnings when bootstrapping, Stefan Monnier, 2007/10/23