How do I check what runtime library a static library (.lib) in Windows has linked to?
I'm compiling my project with /MDd and I presume a library I'm linking to is using /MTd Multi-threaded Debug
Error 7 error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in libcpmtd.lib(xlock.obj) C:\...\msvcprtd.lib(MSVCP100D.dll)
LIBCPMTD.LIB = Multithreaded, static link
I know there's an option /NODEFAULTLIB:"libcpmtd.lib"
which I've tried and succeeded with, but I'd rather avoid that.