summaryrefslogtreecommitdiff
path: root/Utilities/KWIML
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-11-21 11:03:29 -0500
committerBrad King <brad.king@kitware.com>2011-11-21 11:03:29 -0500
commitec358d17a77635a59aa09c5dbd7a6cd3b0cf000d (patch)
tree41099eee9e5af562443d84dc833eb8fd7fee9fbc /Utilities/KWIML
parent5796f88d92832739889cc613d911d4d581b29365 (diff)
parentb421c2477c4c4f9d4c93997661f1698812cdae36 (diff)
downloadcmake-ec358d17a77635a59aa09c5dbd7a6cd3b0cf000d.tar.gz
Merge branch 'upstream-kwiml' into update-KWIML
Diffstat (limited to 'Utilities/KWIML')
-rw-r--r--Utilities/KWIML/test/test_include_CXX.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/KWIML/test/test_include_CXX.cxx b/Utilities/KWIML/test/test_include_CXX.cxx
index 057b7c21c6..111311a84e 100644
--- a/Utilities/KWIML/test/test_include_CXX.cxx
+++ b/Utilities/KWIML/test/test_include_CXX.cxx
@@ -11,6 +11,12 @@
============================================================================*/
#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. */
#include "test.h"
#include KWIML_HEADER(ABI.h)