On Wed, Aug 11, 2010 at 5:29 PM, Alexander Gavrilov <[email protected]>wrote:
> Hi, I've finally got around to this, and after some investigation > implemented it using the static constant facility in cmpwt.lsp > instead: There are two problems with the static constant facility. 1) Not all compilers allow initialization of global constants in a complicated way. MSVC chokes on many of the expressions we produce for lisp constants. 2) Static constants are not allocated in the heap. That is a huge problem I did not realize until recently, because if a constant in a loaded file is still referenced _after_ the binary file is garbage collected and unloaded, then we have a problem. I am looking for a solution, but currently it seems disabling static constants is the only possibility. Juanjo -- Instituto de FĂsica Fundamental, CSIC c/ Serrano, 113b, Madrid 28006 (Spain) http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Ecls-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ecls-list
