[Ecls-list] c-inline conflict in cl-user
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Thu Jul 6 18:00:44 UTC 2006
2006/7/6, Dave Roberts <dave at vyatta.com>:
>
> (use-package "FFI")
Adding this to the beginning of a compiled file does not do what you
expect because USE-PACKAGE is not evaluated at compilation time. The
right way is to create a package for your code with DEFPACKAGE and
then add an IN-PACK AGE statement in your compiled file. That is
evaluated by the compiler.
Alternatively, an ugly hack
(eval-when (:compile-toplevel :load-toplevel :execute)
(in-package "CL-USER")
(use-package "FFI"))
Jj
More information about the ecl-devel
mailing list