"WITH-COMPILATION-UNIT is being redefined"



Thank you for your answer. I am using the "official" package, here: http://sourceforge.net/projects/maxima/files/Maxima-Windows/5.31.1-Windows/

Also, I can set *break-on-signal* to "t", but how do I get a backtrace?

?

Jean-Claude Arbaut



> Message du 28/09/13 03:06
> De : "Steve Haflich" 
> A : "Jean-Claude ARBAUT" 
> Copie ? : maxima at math.utexas.edu
> Objet : Re: [Maxima] "WITH-COMPILATION-UNIT is being redefined"
> 
>
common-lisp:with-compilation-unit is a standard macro in ANSI Common Lisp, and redefining it has "undefined consequences" which in this case seems to be a warning rather than crashing.

>
Probably what's happening is that w-c-u was missing from some old CL implementations and something somewhere in Maxima provided a definition, conditionalized for those platforms. ?Perhaps that implementation has provided w-c-u since then.

>
Whoever wants to fix this will want to know whether this is a prebuilt Maxima you downloaded from somewhere, or of you buit it yourself, which Lisp implementation (and which version) you used.

>
If you can set the Lisp variable *break-on-signals* to warn and then repeat generating the warning, a stack backtrace at the break might also be a big help in localizing.

>


> 
>
On Fri, Sep 27, 2013 at 2:58 PM, Jean-Claude ARBAUT  wrote:
>

> Hello all,

> ?

> I have just installed Maxima 5.31.1 on Windows, and I get this warning:

> ?

> a:matrix([1,3],[2,5])$
> invert(a);

> ?

> Warning:
> WITH-COMPILATION-UNIT is being redefined.

> ?

> It looks rather benign, but I thought it may be useful to notify it here.

> ?

> Jean-Claude Arbaut

> ?


> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
> 
>


>