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

Error in response when loading woo in lispworks #89

Open
neuronsong opened this issue Dec 26, 2019 · 0 comments
Open

Error in response when loading woo in lispworks #89

neuronsong opened this issue Dec 26, 2019 · 0 comments

Comments

@neuronsong
Copy link

I'm getting the following error when attempting to load woo in lispworks enterprise 7.1.2 (64-bit) on osx catalina 10.15.2. I am having no problem loading woo in sbcl or clozure (ccl) on the same machine.

Here are the errors:

CL-USER 3 > (ql:quickload :woo)
To load "woo":
Load 1 ASDF system:
woo
; Loading "woo"
.
.
[package woo.response]
.
.

Error: Variable DATE-HEADER was declared type (SIMPLE-ARRAY CHARACTER (29)) but is being set to value "Thu, 01 Jan 1970 00:00:00 GMT".

Here is the error when executing that code from the response.lisp file.

CL-USER 5 > (declaim (type (simple-array character (29)) date-header))
T

CL-USER 6 > (defvar date-header "Thu, 01 Jan 1970 00:00:00 GMT")

Error: Variable DATE-HEADER was declared type (SIMPLE-ARRAY CHARACTER (29)) but is being set to value "Thu, 01 Jan 1970 00:00:00 GMT".
1 (abort) Return to top loop level 0.

Type :b for backtrace or :c to proceed.
Type :bug-form "" for a bug report template or :? for other options.

Lispworks wants base-char I think... but of course this doesn't work in sbcl although it does work in ccl... at least for setting the variable...

CL-USER 31 > (declaim (type (simple-array base-char (29)) date-header))
T

CL-USER 32 > (defvar date-header "Thu, 01 Jan 1970 00:00:00 GMT")
DATE-HEADER

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