[Ecls-list] c-inline conflict in cl-user

Goffioul Michael goffioul at imec.be
Wed Jul 5 07:34:35 UTC 2006


> I have been playing around a bit with the ECL FFI interface. 
> I noticed that there are problems if one tries to 
> (use-package "FFI") in cl-user. It looks like there is a 
> conflict with c-inline and I wasn't sure if it was safe to 
> shadow it or not. If I don't (use-package "FFI") then Clines 
> isn't imported and things break on that side.
> 
> Is the conflict of ffi:c-inline and cl-user:c-inline to be 
> expected or is it a bug that should be reported? Are they 
> really the same function (c-inline was already imported by 
> itself?) and/or is it safe to shadow?
> 
> The workaround is of course to create a separate package that 
> uses ffi.

I guess there must be something else as C-INLINE is only defined
in FFI package. I can use-package FFI without any problem:

> *package*
#<"COMMON-LISP-USER" package>
> (use-package :ffi)
T
> (find-all-symbols "C-INLINE")
(C-INLINE)
>

Are tou sure you didn't use C-INLINE symbol elsewhere before trying
to use-package FFI?

Michael.




More information about the ecl-devel mailing list