gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: macrolet compiler error message


From: Camm Maguire
Subject: [Gcl-devel] Re: macrolet compiler error message
Date: 27 Nov 2005 13:09:06 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings, and thanks!  Believe this one is fixed too.

take care,

Robert Boyer <address@hidden> writes:

> Perhaps if a user forgets and leaves off the argument list in a macrolet, he
> should be warned rather than receive the two following messages.
> 
> Bob
> 
> GCL (GNU Common Lisp)  2.7.0 ANSI    Nov 20 2005 15:31:44
> Source License: LGPL(gcl,gmp,pargcl), GPL(unexec,bfd)
> Binary License:  GPL due to GPL'ed components: (BFD UNEXEC)
> Modifications of this banner must retain notice of a compatible license
> Dedicated to the memory of W. Schelter
> 
> Use (help) to get some basic information on how to use GCL.
> 
> >(defun foo () (macrolet ((x '7)) (x)))
> 
> FOO
> 
> >(foo)
> Segmentation violation: c stack ok:signalling error
> Error in MACROLET [or a callee]: Caught fatal error [memory may be damaged]: 
> Segmentation violation.
> 
> Fast links are on: do (si::use-fast-links nil) for debugging
> Broken at CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER.  Type :H for Help.
>  1 (Continue) Return to top level.
> dbl:>>:q
> 
> Top level.
> >(compile 'foo)
> 
> ;; Compiling ./gazonk5.lsp.
> Error in X [or a callee]: -805306361 is not of type SYMBOL.
> 
> Fast links are on: do (si::use-fast-links nil) for debugging
> Broken at CONDITIONS::CLCS-UNIVERSAL-ERROR-HANDLER.  Type :H for Help.
>  1 (Continue) (SYSTEM:ERROR-SET
>                   '(MACROEXPAND '(X)
>                        '(NIL ((X MACRO
>                                  (LAMBDA-BLOCK X
>                                      (#:G1895 #:G1896 &AUX
>                                       (LOAD-TIME-VALUE
>                                        (IF (CDR #:G1895) (CADR #:G1895)
>                                         (SYSTEM::DM-TOO-FEW-ARGUMENTS)))
>                                       (#:G1897
>                                        (IF (CDDR #:G1895)
>                                         (CADDR #:G1895)
>                                         (SYSTEM::DM-TOO-FEW-ARGUMENTS)))
>                                       (SYSTEM:NANI
>                                        (IF #:G1897 (CAR #:G1897)
>                                         (SYSTEM::DM-TOO-FEW-ARGUMENTS)))
>                                       (#:G1898
>                                        (IF (CDR #:G1897) (CADR #:G1897)
>                                         (SYSTEM::DM-TOO-FEW-ARGUMENTS)))
>                                       (-805306361 #:G1898))
>                                    (DECLARE (IGNORE #:G1896))
>                                    (UNLESS (ENDP (CDDR #:G1897))
>                                      (SYSTEM::DM-TOO-MANY-ARGUMENTS))
>                                    (UNLESS (ENDP (CDDDR #:G1895))
>                                      (SYSTEM::DM-TOO-MANY-ARGUMENTS)))))
>                              NIL)))
>  2 Retry compiling file #P"./gazonk5.lsp".
>  3 Retry compiling FOO.
>  4 Return to top level.
> dbl:>>
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]