Re: Subclasses

Espen S Johnsen <[email protected]> 31 May 2006 16:29:41 +0200
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
Marco Gidde <[email protected]> writes:

> Hello Espen,
> 
> a few month ago you posted an example with a user defined class that
> inherits from drawing-area. The same technique is used in the examples
> directory in ginspect.lisp and seems to be broken, at least here :-)
> 
> My machine configuration is as follows:
> 
> uname -a: Linux tristan 2.6.11.4-21.10-default #1 Tue Nov 29 14:32:49 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux
> 
> SBCL 0.9.12 for x86_64

I assume your using 0.93pre and if that is correct this is probably a
struct alignment error. Try chancing the definition of +struct-alignmen+
(yes, it's spelling error in the symbol name) in gffi/proxy.lisp to
4. Unfortunately I don't have access to an amd64 machine which has all
the necessary libraries installed so I couldn't test this my self (but
when I have some spare time I will set up a test environment so that I
could do regular testing on 64 bit machines)

-- 
Espen