[Top][All Lists]

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

Re: byte compiler warnings when bootstrapping

From: Stefan Monnier
Subject: Re: byte compiler warnings when bootstrapping
Date: Tue, 23 Oct 2007 10:23:55 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>     I think it would be good.  Although I think I'd rather allow the
>     external-function-delcaration to give an arglist so that the bytecompiler
>     can check you passed the right number of arguments as well.  So maybe
>     something like

>       (declare-function <foo> <fooarglist>)

> That seems like a good design, but I think it should also have
> the file name, so that something at build time can check all these
> against the files they refer to.

I don't think the <file> argument is important (the build-time check can
just as well read all the files to figure out whether the function is
defined in some file), but it wouldn't hurt, indeed.


reply via email to

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