|
From: Lars B. <la...@no...> - 2004-11-09 20:33:59
|
Matthew Danish <md...@an...> writes: > On Mon, Nov 08, 2004 at 09:52:45PM +0100, Lars Brinkhoff wrote: > > 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. > > > > 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)) > > Maybe try declaring cl-sdl:clear-screen inline? Doesn't seem to help. I'm thinking something like what Kevin replied below, applied to some proper location. In this case, it seems like adding some kind of declaration involving (struct sdl:surface) could be helpful. http://lists.b9.com/pipermail/uffi-users/2004-July/000382.html http://lists.b9.com/pipermail/uffi-users/2004-July/000383.html -- Lars Brinkhoff, Services for Unix, Linux, GCC, HTTP Brinkhoff Consulting http://www.brinkhoff.se/ |