KWIML: Avoid MSVC linker warning about not using C++ runtime
Teach KWIML_test to use part of the C++ runtime library. Otherwise the linker complains: warning LNK4089: all references to 'MSVCP71.dll' discarded by /OPT:REF
This commit is contained in:
parent
ae7cf91b13
commit
b421c2477c
|
@ -11,6 +11,12 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#if defined(_MSC_VER) && defined(NDEBUG)
|
||||||
|
// Use C++ runtime to avoid linker warning:
|
||||||
|
// warning LNK4089: all references to 'MSVCP71.dll' discarded by /OPT:REF
|
||||||
|
std::string test_include_CXX_use_stl_string;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Test KWIML header inclusion after above system headers. */
|
/* Test KWIML header inclusion after above system headers. */
|
||||||
#include "test.h"
|
#include "test.h"
|
||||||
#include KWIML_HEADER(ABI.h)
|
#include KWIML_HEADER(ABI.h)
|
||||||
|
|
Loading…
Reference in New Issue