[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Declaring missing functions
- To: Ranson <ranson@lannion.cnet.fr>
- Subject: Re: Declaring missing functions
- From: bill (Bill St. Clair)
- Date: Thu, 26 Sep 91 15:12:31 EST
- Cc: info-macl@cambridge.apple.com
> X400-Received: by /PRMD=inria/ADMD=atlas/C=FR/;
> Relayed; 25 Sep 91 11:40:08+0200
> X400-Received: by /PRMD=CNET/ADMD=ATLAS/C=FR/;
> Relayed; 25 Sep 91 11:39:00 GMT
> Date: 25 Sep 91 11:39:00 GMT
> From: Ranson <ranson@lannion.cnet.fr>
> To: info-macl@cambridge.apple.com
> Subject: Declaring missing functions
> Cc: ranson@lannion.cnet.fr
>
>
> Is there a way to shut off the compiler warning about calls of (yet) undefined
> functions, when one knows the function will be defined in the next file?
> I tried (declare (function ...)) but it does not do anything.
> Daniel (ranson@lannion.cnet.fr)
>
This will produce warnings if evaluated from a buffer, but not when file
compiled:
(declaim (ftype (function (&rest t) t) foo))
(defun bar (x) (foo x))