On Tue, Dec 23, 2008 at 5:50 AM, Patrick Mast, xHarbour.
<[email protected]> wrote:
> Thanks Phil!
>
> Compiling with MSVC, I get this error:
> Creating library bin\vc\ppgen.lib and object bin\vc\ppgen.exp
> common.lib(hbfsapi.obj) : error LNK2019: unresolved external symbol
> _hb_setGetDirSeparator referenced in function _hb_fsFNameSplit
> bin\vc\ppgen.exe : fatal error LNK1120: 1 unresolved externals

Oops. It's really strange - the function is defined in ppgen.c.
Probably C++ mode mangles its name, because when I wrap the function
body inside extern "C" { ... }, MSVC builds OK (and stops later, but
it's another problem). I am not familiar with C++ mode building, can
you think of the most correct way to fix it?

-- Ph.

------------------------------------------------------------------------------
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to