#631 *** - SYSTEM::DO-FORMAT-CHARACTER: variable SYSTEM::*FORMAT-

lisp error
closed-fixed
Sam Steingold
clisp (525)
5
2012-04-23
2012-03-06
Michael Kappert
No

A somewht pathological error, but this is a bug I think, and it hides the actual error:

$ clisp -norc
...
GNU CLISP 2.49+ (2010-07-17)
...
[1]> (funcall (compile nil (lambda () (format () "~c" 0))))

*** - SYSTEM::DO-FORMAT-CHARACTER: variable SYSTEM::*FORMAT-CS* has no value
The following restarts are available:
ABORT :R1 Abort main loop
Break 1 [2]> :r1
[3]> (format () "~c" 0)

*** - The ~C format directive requires a character argument, not 0
Current point in control string:
"~c"
|
The following restarts are available:
ABORT :R1 Abort main loop
Break 1 [4]> :r1

Best Regards
Michael

Discussion

  • Sam Steingold
    Sam Steingold
    2012-04-23

    • assigned_to: haible --> sds
    • status: open --> closed-fixed
     
  • Sam Steingold
    Sam Steingold
    2012-04-23

    thank you for your bug report.
    the bug has been fixed in the source tree (mercurial/hg).
    you can either wait for the next release (recommended)
    or check out the current mercurial tree (see http://clisp.org\)
    and build CLISP from the sources (be advised that between
    releases the source tree is very unstable and may not even build
    on your platform).