Menu

#19 SBCL does not like constant definition of +ffi-types+

open
None
5
2012-05-29
2012-03-30
No

SBCL signals "constant is being redefined " errors for +ffi-types+ and +ffi-styles+ in src/ffi-cffi.lisp, because the values of the constants are lists.
SBCL documentation explains the problem: http://www.sbcl.org/manual/Defining-Constants.html.

Ilya

Discussion

  • Raymond Toy

    Raymond Toy - 2012-04-23

    Are you getting this because you are reloading src/ffi-cffi into your lisp?

     
  • Ilya Perminov

    Ilya Perminov - 2012-04-23

    The problem happens when ASDF compiles and then loads the file, because SBCL evaluates DEFCONSTANTs in both compile time and load time.

     
  • Anonymous

    Anonymous - 2012-05-29

    Yes, this happens to me on SBCL. I've been lazy and keep ignoring this.
    Will fix this.

     
  • Anonymous

    Anonymous - 2012-05-29
    • assigned_to: nobody --> akssri