From fc88f09ac1259a31f6da930ed9b885c0c83c38d1 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Thu, 15 Jul 2010 09:27:58 +0000 Subject: Fixed alignment padding warning for Xbox 360 git-svn-id: http://pugixml.googlecode.com/svn/trunk@601 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/pugixml.cpp b/src/pugixml.cpp index 5f21dc7..ca3f009 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -32,6 +32,7 @@ #ifdef _MSC_VER # pragma warning(disable: 4127) // conditional expression is constant # pragma warning(disable: 4611) // interaction between '_setjmp' and C++ object destruction is non-portable +# pragma warning(disable: 4324) // structure was padded due to __declspec(align()) # pragma warning(disable: 4996) // this function or variable may be unsafe #endif @@ -1804,8 +1805,8 @@ namespace struct xml_parser { xml_allocator alloc; - jmp_buf error_handler; char_t* error_offset; + jmp_buf error_handler; // Parser utilities. #define SKIPWS() { while (IS_CHARTYPE(*s, ct_space)) ++s; } -- cgit v1.2.3