You can nicely make the warnings go away by using declare-function
(which we have started to do in several places).
http://www.gnu.org/software/emacs/elisp/html_node/Declaring-Functions.html
Cheers,
Len.
On Thu, Apr 1, 2010 at 4:05 PM, Troy Daniels
<udalrich.schermer@...> wrote:
> I'm cleaning up those warnings, but there's one I'm not certain how to
> handle.
>
> In end of data:
> jde-db.el:2018:1:Warning: the following functions are not known to be
> defined:
> jde-find-class-source-file, jde-build-classpath, jde-normalize-path,
> jde-jdb-get-jdb
>
> has now become
>
> In end of data:
> jde-db.el:2017:1:Warning: the following functions are not known to be
> defined:
> jde-find-class-source-file, jde-build-classpath, jde-normalize-path,
> jde-jdb-get-jdb, jde-expand-wildcards-and-normalize
>
> The new function is defined in the jde.el, the same file as
> jde-normalize-path, and that seems to be the logical place to define it (as
> it is related to jde-normalize-path). Is there a standard way to make
> "forward declarations" for the compiler? Since there is already a warning
> for jde-normalize-path, it seems that there probably is not a way. If so,
> is it acceptable to add this warning to the build?
>
> There is a similar warning in jde-javadoc-gen.el
>
> I've attached the updated patch in case these warnings are acceptable.
>
> Troy
>
>
>> Cheers,
>> Len.
>
>
|