Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with SBCL #31

Open
Slids opened this issue Mar 6, 2020 · 1 comment
Open

Building with SBCL #31

Slids opened this issue Mar 6, 2020 · 1 comment

Comments

@Slids
Copy link

Slids commented Mar 6, 2020

When building decode.lisp with SBCL getting the error:
; file: /flexi-streams/decode.lisp
; in:
; DEFINE-CHAR-DECODERS (FLEXI-UTF-16-LE-FORMAT FLEXI-CR-UTF-16-LE-FORMAT FLEXI-CRLF-UTF-16-LE-FORMAT)
; (FLEXI-STREAMS::READ-NEXT-BYTE)
; --> PROG1 LET OR LET IF COND IF THE RETURN-FROM
; ==>
; NIL
;
; caught STYLE-WARNING:
; This is not a (MOD 1114112):
; NIL
; See also:
; The SBCL Manual, Node "Handling of Types"
ERROR: FAIL: SB-INT:TYPE-STYLE-WARNING 'This is not a (MOD 1114112):
NIL
See also:
The SBCL Manual, Node "Handling of Types"'

This happens for all the char-decoders that return nil, see:
(macrolet ((read-next-byte ()
`(prog1
(or octet-getter
(cond (first-octet-seen
(return-from char-decoder
(recover-from-encoding-error format
"End of data while in UTF-8 sequence.")))
(t (return-from char-decoder nil))))
(setq first-octet-seen t))))

@Slids
Copy link
Author

Slids commented Mar 6, 2020

Comes from removing the safety 0 settings in specials.lsip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant