Hi Viktor

1. If I add

-debug

to my .hbp file I get:

LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library

with MSVC. I don't see any other difference in the output, maybe I don't understand it.

You're trying to mix msvc libs with different build settings, maybe even
built with different msvc versions. Try rebuilding every libs with the same
settings. Look at /MT /MD switches.

2. I am trying:

-ldflag=LINKFORCE=/force:unresolved

to force a link, but it appears to be ignored?

It's not a solution for the problem. But this switch
should be passed like this: -ldflag=/force:unresolved

I'll delete -MTd option from hbmk2, as it just confuses
the matter. (see line #2765 in hbmk2.prg)

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to