Randy,

LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBC.lib(dosmap.obj)
.
.
.
LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in LIBC.lib(tolower.obj) LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library

The only thing that seems to fix this problem is "/NODEFAULTLIB:LIBCMT" - My app seems to build and run ok.

Can someone please let me know what the implications of including this are?


I had originally set these up - I don't know if the state of the various (no)default lib's has changed. The original intent was that if HB_MT was not set, then nodefaultlib:libcmt would be used, otherwise nodefaultlib:libct is used. (I thinjk a couple of others are thrown in there too) In later version of VC, MS have removed LIBC, so I think the flags have changed to always use libcmt.

I cant say untill I re-acquant myself with hot it works, but if you know you're not compileing for MT, then I think you can leave nodefaultlib:libcmt.

Paul


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

Reply via email to