<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>  I compiled ecl16.0.0 with option "--with-cxx".<br><br></div>  Then I use ffi:defcallback function like<br><br></div>    (ffi:defcallback yyyy :void () ..... )<br><br></div><div>  then compile-file <br>    (compile-file "xxxxx.lisp" :c-file "xxxxx.cpp" :system-p t)<br><br></div>  I received error message as follows<br></div>   (freebsd10.1 clang++)<br><div>    xxxxx.cpp:162:8: error: no matching function for call to<br>      'ecl_make_foreign_data'<br>      T0 = ecl_make_foreign_data(ECL_SYM("POINTER-VOID",1381),0,ecl_callback_0)<br><br></div><div>  I try as follows<br><br>    in src/cmp/cmpcbk.lsp & src/new-cmp/cmpc-cbk.lsp   line 44<br></div><div>     from:<br></div><div>       ,(format nil "ecl_make_foreign_data(@':pointer-void,0,~a)" c-name)<br></div><div>     to:<br></div><div>       ,(format nil "ecl_make_foreign_data(@':pointer-void,0,(void*)~a)" c-name)<br><br></div><div>  after that, I did not receive error message and ffi:callback work fine.<br><br></div><div>  Would you let me know what your thoughts are on this matter.<br><br></div><div>                                                   hirohiro447   <br></div><div><br>  <br></div><div><br></div></div>