On Mon, 29 Sep 2008, Pritpal Bedi wrote:

Hi Pritpal,

> Do we need to compile PRG/C application sources/third party libraries
> with exactly same switches with which Harbour is compiled?

No we do not need anything like that untill you will notr
force sth by setting some build macros ;-)
For MT programs you only have to link hbvmmt instead of hbvm and
in some compilers MT version of C rtl, f.e. cw32mt.lib in BCC.

> -DHB_MT_VM is enough?

It's not necessary. Please do not use it.

> No need of any specific switches?

Yes.

There is a problem with some code which come from xHarbour
in XHB library which directly access some HVM interrnals and
need to be compiled with the same switches as HVM (it doesn't
matter it's MT or ST mode, the problem can be exploited also
by ST only applications). I'll commit fix in a minute.

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

Reply via email to