[Openmcl-devel] Undefined function: muting the compiler

Paul Krueger plkrueger at comcast.net
Tue Sep 28 15:48:53 PDT 2010


Alex,

I wonder if there isn't something else going on for you. I was pretty sure that I didn't see the behavior you describe, so I created a simple example file containing two defun's that each reference the other to test my memory. Neither load nor compile-file gave any kind of warning for this example. You DO get a warning if you just open the file in the IDE and do an "execute all" on it, but I sort of expect that.

Paul


On Sep 28, 2010, at 5:20 PM, Alexander Repenning wrote:

> This is just a silly but general CL question but I wonder how people are handling it. If you are loading a file containing, say, function a and b and a calling b and for some reason you cannot move up b to be located before a you will get the compiler warning In A: Undefined function B
> 
> Not a big deal but it is really nice to get rid of all compiler warnings if possible. I just cant find relevant stuff in CLTL2. I would imagined that one could do something like
> 
> (proclaim '(type function b)) or (proclaim '(function b))
> 
> but that does not appear to work
> 
> any suggestions?
> 
> Alex
> 
> 
> 
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list