Hello Viktor
hbmk2 E:\dev_hbmk\xharbour\cacherdd.hbp -hblib -xhb -q -trace -info -lang=en
-width=512 -rebuild -env:__MT__-
...
...
Unrecoverable error 9023: hb_xgrab requested to allocate zero bytes
Called from HB_SETENV(0)
Called from HBMK2(945) in ../../../hbmk2.prg
Called from MAIN(473) in ../../../hbmk2.prg
I was trying to supress define, if any, __MT__ and tried as documented:
-env:__MT__-
I had to initiate it like this because in one of the C source, these are the
lines:
#ifdef __MT__
#include "hbthread.h"
static PHB_ITEM s_pMtx = NULL;
#endif
For Harbour builds, it is OK as I define __MT__ but for xHarbour compiles
__MT__ is never defined but still I reach to line; #include "hbthread.h"
and there is no define as such in above C source or elsewhere nor it is
visible in the logs. It is a mystery how __MT__ peeps in.
-----
enjoy hbIDEing...
Pritpal Bedi
http://hbide.vouch.info/
--
View this message in context:
http://harbour-devel.1590103.n2.nabble.com/hbMK2-Switch-env-RTE-tp5012018p5012018.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour