when I linked my mfc single document app to a 3rd static library, in debug mode it gave LNK 2005 errors. In debug when I switched the run time flag to /MD it gave me couple of NODEFAULTLIB:library warnings only. In release mode and /MD, no warnings or errors. Are these ok?. the debug with /MD still work?. why it behave like this?.