[Openmcl-devel] CCL Win32 confuses equally named functions
hans.huebner at gmail.com
Mon Jun 8 11:16:29 UTC 2015
can you please supply us with a complete, working example of code that
demonstrates the problem, in particular including the defpackage forms?
2015-06-08 7:03 GMT-04:00 Wimpie Nortje <wimpie at selectiveshare.com>:
> Hi everyone,
> I am porting my application from linux 64b to windows 32b. On windows
> CCL calls the wrong function while it works fine in linux.
> In principle the code looks like this
> (in-package :b)
> (defun fn (par1 par2 &optional (out *standard-output*)) 
> (in-package :a)
> (defun fn (par1 par2) 
> (b:fn par1 par2 *some-global*)) 
> (in-package :main)
> (a:fn Val1 Val2)
> When I run this I get the following error:
> Too many arguments in call to #<Compiled-function B:FN #xE0A390E>:
> 3 arguments provided, at most 2 accepted.
> [Condition of type CCL::TOO-MANY-ARGUMENTS]
> It seems that the function call at  is calling the definition at 
> instead of the one at . Also, when I do M-. (slime-edit-definition)
> at  it jumps to .
> If I rename b:fn to something else without any other code changes, it
> This code works unmodified on linux 64b. I have not yet tried on windows
> Is this a bug or am I doing something wrong?
> I am running CCL Version 1.10-r16196 (WindowsX8632) on Windows XP SP3.
> Wimpie Nortje
> Strongroom - Host-proof notepad
> Selective Share - Encryption-as-a-Service
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel