On Tue, 14 Oct 2008, Szak�ts Viktor wrote:

Hi Viktor,
> To me the culprit seems to be the "INITLINES" logic.
> If I disable line numbers with -l, it will start to
> work with MSVS. But not with BCC.

Your results suggest that the problem is not related to MT mode.
It's rather caused by debugger activation in HVM compiled with
HB_NO_DEBUG macro and it's possible in few cases because this
macro does not disable all debugger entries in HVM what should
be cleaned. Anyhow I do not make it now because it may hide some
problem in debugger code I would like to locate.
Unfortunately I cannot reproduce the problem myself. It may be
caused by different order of startup code execution in compilers
you are using.
If possible please try to use CodeGuard in BCC build. It should
catch the place where this code fails.
Also if possible please check if the problem is repeatable with
Harbour compiled without -gc2.

> With BCC582 compiled with -DHB_NO_DEBUG -DHB_FM_STATISTICS_OFF -gc3,
> clean build from local sandbox with no pending updates.
> Same test.prg, compiled with 'harbour -n' base command:
> - OK : ST
> - OK : ST + -b
> - OK : ST + -b -l
> - OK : ST + REQUEST
> - OK : ST + REQUEST + -b
> - OK : ST + REQUEST + -b -l
> - OK : MT
> - ERR: MT + -b
> - ERR: MT + -b -l
> - ERR: MT + REQUEST
> - ERR: MT + REQUEST + -b
> - ERR: MT + REQUEST + -b -l
> ERR means GPF, plus when Harbour rebuilt with FM STATS ON,
> it has shown this line too:
> 'Called from (_INITSTATICS00013)(0) in src\getsys.prg'

This is not Harbour code. We have only one file source\rtl\getsys.prg
which does not use any static variables. It will be funny if above
error comes from some old object files compiled before:
   2008-10-13 12:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
with broken static offsets.

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

Reply via email to