mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-28 06:10:55 +08:00
Fixed alignment padding warning for Xbox 360
git-svn-id: http://pugixml.googlecode.com/svn/trunk@601 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
3b3e2f7f26
commit
fc88f09ac1
@ -32,6 +32,7 @@
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# pragma warning(disable: 4127) // conditional expression is constant
|
# 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: 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
|
# pragma warning(disable: 4996) // this function or variable may be unsafe
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1804,8 +1805,8 @@ namespace
|
|||||||
struct xml_parser
|
struct xml_parser
|
||||||
{
|
{
|
||||||
xml_allocator alloc;
|
xml_allocator alloc;
|
||||||
jmp_buf error_handler;
|
|
||||||
char_t* error_offset;
|
char_t* error_offset;
|
||||||
|
jmp_buf error_handler;
|
||||||
|
|
||||||
// Parser utilities.
|
// Parser utilities.
|
||||||
#define SKIPWS() { while (IS_CHARTYPE(*s, ct_space)) ++s; }
|
#define SKIPWS() { while (IS_CHARTYPE(*s, ct_space)) ++s; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user