Subject: "WITH-COMPILATION-UNIT is being redefined"
From: Steve Haflich
Date: Fri, 27 Sep 2013 18:06:09 -0700
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 <
jeanclaudearbaut at orange.fr> 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
>
>