woo
woo copied to clipboard
Error in response when loading woo in lispworks
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
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