From 199b97a851f20bb5fa3d3f2d6dd0debb5a9f0ec3 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine@gmail.com" Date: Tue, 6 Mar 2012 16:56:45 +0000 Subject: tests: Miscellaneous fixes git-svn-id: http://pugixml.googlecode.com/svn/trunk@850 99668b35-9821-0410-8761-19e4c4f06640 --- tests/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/main.cpp') diff --git a/tests/main.cpp b/tests/main.cpp index d580a03..6641e8d 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -12,6 +12,7 @@ #ifdef _WIN32_WCE # undef DebugBreak +# pragma warning(disable: 4201) // nonstandard extension used: nameless struct/union # include #endif @@ -61,6 +62,8 @@ static void replace_memory_management() } #if defined(_MSC_VER) && _MSC_VER > 1200 && _MSC_VER < 1400 && !defined(__INTEL_COMPILER) && !defined(__DMC__) +#include + namespace std { _CRTIMP2 _Prhand _Raise_handler; @@ -121,6 +124,8 @@ static bool run_test(test_runner* test) } #if defined(__CELLOS_LV2__) && defined(PUGIXML_NO_EXCEPTIONS) && !defined(__SNC__) +#include + void std::exception::_Raise() const { abort(); -- cgit v1.2.3