You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a weird thing happening w/ recompiling vs. just loading CLX.
On a fresh SBCL 1.3.19 the following happens for me:
Rebuilding CLX:
CL-USER> (asdf:load-system :clx:forcet)
T
CL-USER> xlib::*gcontext-extensions*
(#(:TRAPEZOID-ALIGNMENT:XXLIB::|Internal-Set-GCONTEXT-TRAPEZOID-ALIGNMENT|
XLIB::|Internal-Copy-GCONTEXT-TRAPEZOID-ALIGNMENT|))
But after restarting and loading without rebuilding:
CL-USER> (asdf:load-system :clx)
T
CL-USER> xlib::*gcontext-extensions*NIL
In both cases:
CL-USER> (describe'XLIB::|Internal-Copy-GCONTEXT-TRAPEZOID-ALIGNMENT|)
XLIB::|Internal-Copy-GCONTEXT-TRAPEZOID-ALIGNMENT|
[symbol]
; No value
i.e. the symbol is in particular not fbound. The entry in *gcontext-extensions* is, however, used later by CLX via funcall, resulting in the reported error.
The problem disappears (i.e. *gcontext-extensions* stays NIL after recompiling CLX) when I comment out loading demo/zoid.lisp and test/trapezoid.lisp in the ASD file, which suggests it's the zoid demo that's interfering with compilation of the library.
The text was updated successfully, but these errors were encountered:
The demo and test files don't seem to be loaded automatically. As far as I can tell, the problem is that demo/zoid.lisp expands the define-gcontext-accessor macro during compilation, like so:
My vote is to move demos and tests into separate systems (the latter probably depending on the former) - this way demos and tests will never unexpectedly pollute the Lisp image used to compile the CLX proper.
There's a weird thing happening w/ recompiling vs. just loading CLX.
On a fresh SBCL 1.3.19 the following happens for me:
Rebuilding CLX:
But after restarting and loading without rebuilding:
In both cases:
i.e. the symbol is in particular not fbound. The entry in
*gcontext-extensions*
is, however, used later by CLX via funcall, resulting in the reported error.The problem disappears (i.e.
*gcontext-extensions*
staysNIL
after recompiling CLX) when I comment out loadingdemo/zoid.lisp
andtest/trapezoid.lisp
in the ASD file, which suggests it's the zoid demo that's interfering with compilation of the library.The text was updated successfully, but these errors were encountered: