On Fri, 23 Aug 2013 23:23:51 +0800 szw <
s...@yesdata.cn> wrote:
s> The error message is:
s>
s> make[1]: Entering directory `/home/szw/tool/xmlwrapp-0.7.0/src'
s> CXX libxmlwrapp_la-schema.lo
s> In file included from libxml/schema.cxx:38:
s> libxml/errors_impl.h:66: error: 'va_list' has not been declared
s> libxml/errors_impl.h:67: error: 'va_list' has not been declared
s>
s> Centos6.2
s> libxml2.so.2.7.6
s> libxslt.so.1.1.26
s> gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
s>
s> help me please !
This has already been fixed in the Git repository so you could get the fix
from there or just apply it yourself as it's just one line to add:
diff --git a/src/libxml/errors_impl.h b/src/libxml/errors_impl.h
index 5901511..1c98acb 100644
--- a/src/libxml/errors_impl.h
+++ b/src/libxml/errors_impl.h
@@ -33,6 +33,7 @@
#ifndef _xmlwrapp_errors_impl_h_
#define _xmlwrapp_errors_impl_h_
+#include <stdarg.h>
#include <xmlwrapp/errors.h>
namespace xml
Hope this helps,
VZ