Why does this fix a warning message?
- From: "Egbert Nierop \(MVP for IIS\)" <egbert_nierop@xxxxxxxxxxxxxx>
- Date: Tue, 16 May 2006 12:26:47 +0200
in stdafx.h?
It's the error mentioned in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/LNK4098.asp
#ifdef DEBUG
#pragma comment(lib, "libcmtd.lib") // multithreaded debug
#else
#pragma comment(lib, "libcmt.lib") // multithreaded release
#endif
In some projects, I get this nasty error, that the wrong library libcmt.lib is linked in debug mode. Since I'm sure, all my compilation options are OK, I wanted to solve this anyway, so I used the macro above.
.
- Prev by Date: Re: Question about sizeof a class.
- Next by Date: [ANN] CodeSynthesis XSD - XML data binding compiler for C++
- Previous by thread: May build, but won't compile..
- Next by thread: [ANN] CodeSynthesis XSD - XML data binding compiler for C++
- Index(es):
Relevant Pages
|