problems with lisp compiler

Discussion of Common Lisp
Post Reply
habadoh
Posts: 3
Joined: Sat Nov 22, 2008 5:03 am

problems with lisp compiler

Post by habadoh » Sat Nov 22, 2008 7:45 pm

Hi,

I'm getting a really really strange error with my lisp app, and I'm wondering if any of you has encountered anything like this before...
I have a function called build that has as parameter a list. Now lets say I have two lists A and B.
I'm using SBCL btw. If I do:

(build A)
; I get the expected result
; but then:

(build B)

; I get an error


However, If I do:

(build A)
; I get the expected result
; then, recompile, and do:

(build B)
; I get the expected result


Isn't this reeeeally strange? Any ideas?


Thanks!

Paul Donnelly
Posts: 148
Joined: Wed Jul 30, 2008 11:26 pm

Re: problems with lisp compiler

Post by Paul Donnelly » Sat Nov 22, 2008 9:51 pm

habadoh wrote:Isn't this reeeeally strange? Any ideas?
No ideas without seeing the code or knowing what error you get. It sounds like you might be modifying literal data somewhere, because that's an easy way to produce unintended side-effects.

Post Reply