[ matlisp-Bugs-3513323 ] SBCL does not like constant definition of +ffi-types+

SourceForge.net <[email protected]> Tue, 29 May 2012 11:10:40 -0700
Newsgroups gmane.lisp.matlisp.devel
Message-ID <[email protected]>
Bugs item #3513323, was opened at 2012-03-30 10:59
Message generated for change (Comment added) made by akssri
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104511&aid=3513323&group_id=4511

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ilya Perminov (iperminov1)
Assigned to: Nobody/Anonymous (nobody)
Summary: SBCL does not like constant definition of +ffi-types+

Initial Comment:
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


----------------------------------------------------------------------

Comment By: Akshay  Srinivasan (akssri)
Date: 2012-05-29 11:10

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

----------------------------------------------------------------------

Comment By: Ilya Perminov (iperminov1)
Date: 2012-04-23 10:29

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

----------------------------------------------------------------------

Comment By: Raymond Toy (rtoy)
Date: 2012-04-22 21:43

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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104511&aid=3513323&group_id=4511

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/