Fwd: [fetter-devel] Verrazano and ncurses

Brad Beveridge brad.beveridge at gmail.com
Mon Dec 5 01:51:29 UTC 2005


Sorry - accidentally only replied to Rayiner

---------- Forwarded message ----------
From: Brad Beveridge <brad.beveridge at gmail.com>
Date: Dec 4, 2005 5:50 PM
Subject: Re: [fetter-devel] Verrazano and ncurses
To: Rayiner Hashem <rayiner at gmail.com>


Wow!  That is an astoundingly good turn around time.

> The other problem is the handling of wchar_t. Apparently, GCC-XML
> considers wchar_t to be a fundamental type. This sort of thing keeps
IMHO, it should be a CFFI type

> In any case, if you're on *NIX, this should work now. Please try again
> with the latest CVS copy.

So I have a new issue now...see below.
I haven't looked into it yet - but as your turnaround was so good before... :)
My bindings file is:
(defbinding "ncurses-library"
    (include "ncurses.h"))

Cheers
Brad

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

; compiling (DEFMACRO VIRTUAL-FUNCALL ...)

; /home/brad/development/lisp/packages/verrazano-support/support.fasl written
; compilation finished in 0:00:00
COMMON-LISP:WARNING:
   COMPILE-FILE warned while performing #<COMPILE-OP COMMON-LISP:NIL
{AFF43C9}>   on #<CL-SOURCE-FILE "support" {AFF1291}>.

debugger invoked on a ASDF:COMPILE-FAILED in thread
#<THREAD "initial thread" {A91C551}>:
  erred while invoking #<COMPILE-OP COMMON-LISP:NIL {AFF43C9}> on
  #<CL-SOURCE-FILE "support" {AFF1291}>

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY ] Retry performing #<ASDF:COMPILE-OP COMMON-LISP:NIL {AFF43C9}> on
              #<ASDF:CL-SOURCE-FILE "support" {AFF1291}>.
  1: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP COMMON-LISP:NIL {AFF43C9}>
              on #<ASDF:CL-SOURCE-FILE "support" {AFF1291}> as having been
              successful.
  2: [ABORT ] Exit debugger, returning to top level.

((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE))
 #<unavailable argument>
 #<unavailable argument>
 #<ASDF:COMPILE-OP COMMON-LISP:NIL {AFF43C9}>
 #<ASDF:CL-SOURCE-FILE "support" {AFF1291}>)



More information about the fetter-devel mailing list