[Ecls-list] Fwd: Problems with updating an external global variable

Juan Jose Garcia-Ripoll juanjose.garciaripoll at gmail.com
Mon Jul 22 07:38:02 UTC 2013


Gmail's new button is for some purpose confusing me all the time with reply
vs reply-all :-/

---------- Forwarded message ----------
From: Juan Jose Garcia-Ripoll <juanjose.garciaripoll at gmail.com>
Date: Sun, Jul 21, 2013 at 10:12 PM
Subject: Re: [Ecls-list] Problems with updating an external global variable
To: Dietrich Bollmann <dietrich at formgames.org>



On Wed, Jul 17, 2013 at 11:32 AM, Dietrich Bollmann
<dietrich at formgames.org>wrote:

> Is my explanation more understandable this time?
>

I am afraid I am more confused now. Apart from the fact that your message
appears full of markup (yellow word for some reason), the fact is that I do
not see in this code the version that fails to work. You show me what works
(and what you call a workaround), but I am not able to see what code fails
for you.

See for instance the example I attach. It consists on three different files
all referring to the same constant. The code is working as it should
according to your description, even when the lisp code is evaluated.

I really believe you have some problem with "extern" or "static"
declarations, or something more subtle, such as using lisp constants
(defconstant) that the lisp is allowed to optimize away (assuming that they
remain constant through execution).

Juanjo


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com



-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130722/7ed587b1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.lsp
Type: application/octet-stream
Size: 236 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130722/7ed587b1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: context-setters.lsp
Type: application/octet-stream
Size: 107 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130722/7ed587b1/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: context.h
Type: text/x-chdr
Size: 23 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130722/7ed587b1/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: context.lsp
Type: application/octet-stream
Size: 123 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130722/7ed587b1/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.lsp
Type: application/octet-stream
Size: 265 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130722/7ed587b1/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 119 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130722/7ed587b1/attachment-0004.obj>


More information about the ecl-devel mailing list