[graphic-forms-devel] Undefined alien: "func_ptr"

Jack Unrue jdunrue at gmail.com
Fri Mar 16 03:20:46 UTC 2007


> David Lichteblau wrote:
> >
> > However, I also tried it with Luís' new-types branch, and that fails
> > with a different error now, something about rectangles not being SAPs.
> >
> > http://article.gmane.org/gmane.lisp.cffi.devel/1034
> >
> > Of course, since the new-types branch is apparently still experimental,
> > that might not be an issue in graphic-forms at all.

OK, here's an update. I've made changes that allow GF to
compile on SBCL with cffi-newtypes. But there are some issues:

- the newtypes branch has deviated from the main cffi branch in a couple
  of incompatible ways. The mechanism for defining type translators is
  different (this was the cause of the SBCL compile errors), and there is an
  incompatible change to CFFI:FOREIGN-STRING-TO-LISP.

- there are other problems on LispWorks 5.0 and CLISP that need to be
  worked out yet. I'm pursuing the CLISP issue now and will hopefully figure
  out a patch or something for LW.

So I've created a branch called graphic-forms-newtypes where we can
work with cffi-newtypes for the time being:

svn://common-lisp.net/project/graphic-forms/svn/branches/graphic-forms-newtypes

Some quick testing shows that there are repainting problems that need to be
tackled. So this branch should be considered even more experimental than
the main trunk.

-- 
Jack Unrue



More information about the Graphic-forms-devel mailing list