<<
Finalizing the object does not clear the old Parent_Object reference, so I
modified Finalize in gnoga-gui-base.adb as follows:

-- ADDED: Remove reference to Parent_Object
Object.Parent_Object := null;

This makes my application work correctly, but I wonder if I am
misunderstanding something?
>>

That looks like a reasonable fix to me and I've pushed it to Master.

I think reasonable, if finalized should be cleared since needs to be set
again if "created" again. The question I have though is when you are
"creating" the object on this now finalized Object why is the Parent_Object
not being set again?


<<
Also, under Windows 7, I am still unable to get anything later than gnoga
version 1.1 to work at all. I recall others reported this problem - was
there a solution posted that I missed?
>>

Yes, look at the makefile for which change to make for 32bit operating
systems on newer gnats.

ATOMIC_ACCESS=GCC-long-offsets
#if using GNAT GPL prior to 2014 or earlier on a 32bit host (Windows or
Linux)
#you need to change this to:
#
#ATOMIC_ACCESS=GCC-built-ins

David Botton
------------------------------------------------------------------------------
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to