Page 1 of 1

problems with lisp compiler

PostPosted: Sat Nov 22, 2008 7:45 pm
by habadoh
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!

Re: problems with lisp compiler

PostPosted: Sat Nov 22, 2008 9:51 pm
by Paul Donnelly
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.