[fetter-devel] Verrazano and ncurses

Brad Beveridge brad.beveridge at gmail.com
Mon Dec 5 02:22:35 UTC 2005


I'm just using the standard GNU ncurses library, version 5.4-9Ubuntu,
which I guess is pretty inline with Debian.  There is a little
__cplusplus define at the start, but nothing else that looks like C++
specific.

Also - how do I pass a NULL pointer to a function?

Many thanks
Brad

On 12/4/05, Rayiner Hashem <rayiner at gmail.com> wrote:
> > Wow!  That is an astoundingly good turn around time.
>
> LOL.
>
> > Error is:
> > ; file: /home/brad/development/lisp/packages/verrazano-support/support.lisp
> > ; in: DEFUN VTABLE-LOOKUP
> > ;     ((NCURSES-LIBRARY::VPTR
> > ;     (CFFI:MEM-REF NCURSES-LIBRARY::POBJ :POINTER NCURSES-LIBRARY::COFF)))
> > ;
> > ; caught COMMON-LISP:ERROR:
> > ;   illegal function call
> >
> > ;     (CFFI:MEM-AREF NCURSES-LIBRARY::VPTR
> > ;                  :POINTER
> > ;                  (NCURSES-LIBRARY::- NCURSES-LIBRARY::INDX 2))
> > ; --> CFFI:MEM-REF CFFI-SYS:%MEM-REF SB-SYS:SAP-REF-SAP
> > ; ==>
> > ;   NCURSES-LIBRARY::VPTR
> > ;
> > ; note: deleting unreachable code
>
> I'm unable to reproduce this error. It appears that your ncurses
> version has C++ code in it, while mine does not. Would you mind
> sending me a copy of your ncurses.h, along with the generated
> ncurses-library.lisp?
>
> PS> The CFFI array length syntax change also broke C++ support. That's
> been fixed in CVS now.
>
> Sincerely,
>     Rayiner Hashem
>



More information about the fetter-devel mailing list