From 18848ef589e6a476fb0082a2fa02b54429c90734 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Mon, 31 May 2010 16:12:16 +0000 Subject: Fixed DMC compilation git-svn-id: http://pugixml.googlecode.com/svn/trunk@484 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixpath.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index 991b212..6262ff3 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -2675,6 +2675,10 @@ namespace pugi } throw xpath_exception("Unrecognized function or wrong parameter count"); + + #ifdef __DMC__ + return 0; // Digital Mars C++ + #endif } axis_t parse_axis_name(const xpath_lexer_string& name, bool& specified) @@ -2820,7 +2824,7 @@ namespace pugi case lex_string: { - xpath_ast_node* args[4] = {}; + xpath_ast_node* args[4] = {0}; size_t argc = 0; xpath_lexer_string function = m_lexer.contents(); -- cgit v1.2.3