gcl warning message
From: Andreas Eder (Andreas.Eder_at_gmx.net)
Date: 11/26/04
- Next message: Jacek Generowicz: "Re: What do Users really want?"
- Previous message: Trent Buck: "Re: What do Users really want?"
- Next in thread: Artem V. Andreev: "Re: gcl warning message"
- Reply: Artem V. Andreev: "Re: gcl warning message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Nov 2004 10:37:33 +0100
Hi,
I'm getting a strange message from gcl
(GCL (GNU Common Lisp) 2.6.5 ANSI Nov 26 2004 08:52:13)
When compiling maxima gcl produces the folling warning:
Compiling /home/are/maxima/maxima/src/commac.lisp.
End of Pass 1.
; (DEFUN LISTIFY1) is being compiled.
;; Warning: Wrong number of args for LAST: 2 instead of 1.
End of Pass 2.
OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3
Finished compiling binary-gcl/commac.o.
Why is that warning about the wrong number of args for LAST?
As far as I know last takes to argument.
I can reproduce it with a small example:
(defun test (l n) (last l n))
compiling that produces the same error message but the code seems to
work.
It all looks so strange to me.
Andreas
-- Wherever I lay my .emacs, there's my $HOME.
- Next message: Jacek Generowicz: "Re: What do Users really want?"
- Previous message: Trent Buck: "Re: What do Users really want?"
- Next in thread: Artem V. Andreev: "Re: gcl warning message"
- Reply: Artem V. Andreev: "Re: gcl warning message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|