Subject: todd-coxeter.lisp defines mult as a macro
From: Yasuaki Honda
Date: Mon, 17 Dec 2001 01:58:19 +0900
Dear Maxima users,
I am relatively new to this list, so if this is well-known, please
forgive me.
As posted yesterday, I have mostly successfully installed maxima on Mac
OS X 10.1
using the new install procedure in for59 directory. Unfortunately I
found that the
maxima that was installed could not go through some of the tests in doc
directory.
My environment: clisp2.27, latest maxima in CVS, built with for59
procedure,
Mac OS X 10.1, iMac266MHz with acceleration card of G3-450MHz.
Specifically, rtest2.mac, problem 29 failed. Error report by clisp:
*** - FUNCALL: MULT is a macro, not a function
1. Break [1]>
I have actually found that todd-coxeter.lisp defines mult as a macro.
This is somewhat
dangerous since simp.lisp also defines mult, however, as a function.
Though I haven't checked the Common Lisp manual to see how bad this is,
I am sure either mult should
better be renamed to something else to avoid any confusion.
BTW, this is not an issue when maxima-pre59/src/compile-clisp.lisp is
used to
create maxima. I haven't figure out why things work fine in that
configuration.
Most likely the order of loading simp.fas and todd-coxeter.fas may have
something
to do with this bug.
Does anyone with other platform (such as clisp on Linux) experience the
same
issue? Can anyone using Mac OS X 10.1 reproduce the same bug?
Yasuaki Honda, Independent Developer, Chiba, Japan