|
From: Lars B. <la...@no...> - 2004-11-08 20:52:54
|
Using SBCL 0.8.16 on a PowerPC, I'm getting the classical error
message below. I understand there's a solution to this involving
type declarations, but I don't know where to put them. Should I
hack the internals of CL-SDL?
This small program is sufficient to get the message:
(progn
(sdl:init sdl:+init-video+)
(cl-sdl:clear-screen (sdl:set-video-mode 512 512 32 sdl:+hwsurface+))
(sdl:quit))
; in: LAMBDA NIL
; (SB-ALIEN-INTERNALS:NATURALIZE
; (SB-SYS:SAP+ SB-ALIEN::SAP (/ SB-ALIEN::OFFSET SB-VM:N-BYTE-BITS
; '#<SB-ALIEN-INTERNALS:ALIEN-RECORD-TYPE (STRUCT SDL:SURFACE ...))))
; ==>
; (SB-ALIEN-INTERNALS:%SAP-ALIEN
; ALIEN '#<SB-ALIEN-INTERNALS:ALIEN-RECORD-TYPE (STRUCT SDL:SURFACE ...))
; note: unable to
; optimize
; because:
; could not optimize away %SAP-ALIEN: forced to do runtime
; allocation of alien-value structure
--
Lars Brinkhoff, Services for Unix, Linux, GCC, HTTP
Brinkhoff Consulting http://www.brinkhoff.se/
|