This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why does the GC frees my function?


Dimitri Ara <dimitri.ara@mail.dotcom.fr> writes:

> SCM version;
...
>   version = gh_str02scm (VERSION);

there is a bug in your program: you didn't protect the static location 
`version' from the GC.

I doubt that this is what causes your problem, but it's still a bug.

hth,
--mike

-- 
Hit the philistines three times over the head with the Elisp reference manual.
                -- Michael A. Petonic

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]