#712 Wrong string types cause type errors in SBCL

closed
nobody
Lisp Core (471)
5
2012-12-04
2005-03-30
No

Current (2005-04-30) CVS HEAD does not build on newish SBCL's
as Maxima seems to assume that strings containing only base-
characters are base-strings, whereas in unicode enabled SBCL this
is not necessarily true:

* (type-of "FOO")

(SIMPLE-ARRAY CHARACTER (3))

* (type-of (coerce "FOO" 'base-string))

(SIMPLE-BASE-STRING 3)

* (typep "FOO" 'base-string)

NIL

Discussion

  • Cliff Yapp

    Cliff Yapp - 2005-03-31

    Logged In: YES
    user_id=11463

    Is this already fixed?

     
  • Cliff Yapp

    Cliff Yapp - 2005-03-31
    • milestone: --> Fix_for_5.9.2
     
  • Raymond Toy

    Raymond Toy - 2005-04-04

    Logged In: YES
    user_id=28849

    I don't think so.

    Rather than regenerate all of the files with f2cl again, I
    think the best thing would be to change all occurrences of
    base-char with character. I think that should satisfy sbcl.

     
  • Raymond Toy

    Raymond Toy - 2005-04-04

    Logged In: YES
    user_id=28849

    I don't think so.

    Rather than regenerate all of the files with f2cl again, I
    think the best thing would be to change all occurrences of
    base-char with character. I think that should satisfy sbcl.

     
  • Raymond Toy

    Raymond Toy - 2005-04-05

    Logged In: YES
    user_id=28849

    I have changed all occurrences of base-char to character.
    Please test with sbcl.

     
  • Raymond Toy

    Raymond Toy - 2005-05-16
    • status: open --> closed
     
  • Raymond Toy

    Raymond Toy - 2005-05-16

    Logged In: YES
    user_id=28849

    Nikodemus says they're fixed now. No warnings about characters.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks