summaryrefslogtreecommitdiff
path: root/tests/test_document.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-08 20:30:29 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-08 20:30:29 +0000
commit6706a3f8ba550701012bee86f6a1d60890437cdf (patch)
treefe20f69f221bca98949d159af24882bf01b92364 /tests/test_document.cpp
parent1172d9bc4a1dbb2a16513bd918ade85486f54243 (diff)
Deprecated all wildcard functions and parse_wnorm_attribute
git-svn-id: http://pugixml.googlecode.com/svn/trunk@389 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_document.cpp')
-rw-r--r--tests/test_document.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp
index 46f0ff4..97ba1d9 100644
--- a/tests/test_document.cpp
+++ b/tests/test_document.cpp
@@ -1,3 +1,6 @@
+#define _CRT_SECURE_NO_WARNINGS
+#define _CRT_NONSTDC_NO_DEPRECATE 0
+
#include <string.h> // because Borland's STL is braindead, we have to include <string.h> _before_ <string> in order to get memcpy
#include "common.hpp"
@@ -12,10 +15,6 @@
#include <string>
-#ifdef _MSC_VER
-#pragma warning(disable: 4996)
-#endif
-
TEST(document_create)
{
pugi::xml_document doc;