Ron,

I am not good in writting a technical thing, but below is Przemek's note
to me personally. I simply found it works and then I implement it in
xHarbour:

--8<--
The problem is not in #undef and it's not related to it at all.
The problem is caused by _missing_ declaration for hb_ret* functions
in hbapi.h when HB_API_MACROS is set. It's a bug which have been
existing in xHarbour for years and it's the reason of different problems
you had with harbour.dll and C++ builds when user uses different
HB_API_MACROS settings then used to build xHarbour. Just simply
hb_ret* functions become C++ ones because they are not declared
in header file with extern "C" attribute.
All what you have to do is updating hbapi.h so hb_ret* functions
will be _always_ declared and below them optional hb_ret* #defines
will be added when HB_API_MACROS is set. Just like in hbapi.h in
Harbour.
--8<--

--
ANdi

On Sat, 22 Nov 2008 20:20:53 -0800
Ron Pinkas <[EMAIL PROTECTED]> wrote:

> Andi,
> 
> >   * source/vm/estack.c
> >   * source/vm/extend.c
> >   * source/vm/fastitem.c
> >     - remove (again) HB_EXPORT attributes. (Thanks to Przemek)
> 
> Can you please explain?
> 
> Ron 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to