Hi, I get "error C2065: 'ecl_callback_0' : undeclared identifier" error when compiling a ffi:defcallback.
 
For instance, I'm unable to compile the following defun (using the MSVC version of ECL):
 
(defun prepare-callback ()
  (ffi:defcallback mycallback :int () (+ 3 4)))
 
The only workarround I found is to put a forward declaration before my defun, that is:
 
(ffi:clines "static int ecl_callback_0();")
(defun prepare-callback ()
  (ffi:defcallback mycallback :int () (+ 3 4)))

This way, I can use the callback from C, but this is not a valid solution for me, since this forward declaration depends on the signature of the defined callback.
 
Any feedback will be wellcome,
Ramon