Ticket #314 (new defect)

Opened 7 months ago

Last modified 4 days ago

Can't dump #<A Foreign Pointer #x1> - unknown type

Reported by: vii Assigned to: gb
Priority: minor Milestone:
Component: Foreign Function Interface Version: 1.2
Keywords: Cc:

Description

With 1.2-r9226-RC1 (LinuxX8664), cannot compile-file with a pointer defconstant. A little annoying as it works on SBCL, clisp, etc.

(load "signal.lisp")
(compile-file "signal.lisp")

Error: Can't dump #<A Foreign Pointer #x1> - unknown type While executing: CCL::FASL-UNKNOWN, in process listener(1).

Here is signal.liop

(asdf:operate 'asdf:load-op :cffi)
(defconstant +SIG_IGN+ (cffi:make-pointer 1))
(defconstant +SIGPIPE+ 13)

(cffi:defcfun ("signal" syscall-signal)
      :pointer
  (signum :int) 
  (action :pointer)) 

(defun disable-sigpipe ()
  (syscall-signal +SIGPIPE+ +SIG_IGN+))

Attachments

signal.lisp (317 bytes) - added by vii on 06/25/08 23:48:24.

Change History

06/25/08 23:48:24 changed by vii

  • attachment signal.lisp added.

01/03/09 10:58:06 changed by rme

  • milestone deleted.

Milestone 1.2 deleted