-DHB_INCLUDE_WINEXCHANDLER

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

-DHB_INCLUDE_WINEXCHANDLER

Post by Enrico Maria Giordano »

From whatsnew.txt:
FWH users: We are building Harbour and xHarbour using the -DHB_INCLUDE_WINEXCHANDLER flag.
If you build Harbour or xHarbour yourself, please use such flag too.
Can you explain better what is that flag and what could happen without it?

Thank you.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

That flag makes Harbour and xharbour to provide its own GPFs handler.

Up to now, FWH provided its own, but with the recent hb_stack changes, we can't any longer manage hb_stack from outside [x]Harbour.

If you use a Harbour or xHarbour build, built without such flag, if a GPF happens, then you will not get any information (calls stack) for it.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Other than building [x]Harbour using that flag, do we need to add it in the link script of our applications too?

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

>
Other than building [x]Harbour using that flag, do we need to add it in the link script of our applications too?
>

No. Just when building Harbour/xHarbour.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply