On Wed, 15 Oct 2008, Szak�ts Viktor wrote:

Hi Viktor,

> I have no CodeGuard unfortunately. I didn't debug Harbour
> since 8 years, but I'll try to find something out.

I've found it.

To repeat the problem is necessary to have some the startup
code execution order like in Windows/DOS.

_INITLINES() functions left complex item (array) for debugger
in HVM stack return value. The static initialization code
hb_stack.return item is clear and does not clear it's previous
value before use. If _INITLINES() was executed before Harbour
libraries we have effect like above and the dirty item overloading
is detected by garbage collector on exit.
I'm not able to replicate it with GCC on Linux because it uses
different order for startup code and _INITLINES() is executed
after static initializations.
I'll fix it ASAP.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to