problems with lisp compiler

Discussion of Common Lisp

problems with lisp compiler

Postby 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!
habadoh
 
Posts: 3
Joined: Sat Nov 22, 2008 5:03 am

Re: problems with lisp compiler

Postby 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.
Paul Donnelly
 
Posts: 148
Joined: Wed Jul 30, 2008 11:26 pm


Return to Common Lisp

Who is online

Users browsing this forum: No registered users and 4 guests