Re: [xml] xmlDoValidityCheckingDefaultValue problem
- From: Daniel Veillard <veillard redhat com>
- To: Gang Wang <WangGang computermotion com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: Re: [xml] xmlDoValidityCheckingDefaultValue problem
- Date: Mon, 12 May 2003 16:15:37 -0400
On Mon, May 12, 2003 at 12:46:09PM -0700, Gang Wang wrote:
Sorry for the confusion. The problem happens when building the program. It
compiles fine. As I indicated in the previous message, it seems
xmlDoValidityCheckingDefaultValue is not an int in globals.h when
LIBXML_THREAD_ENABLED is defined. Instead it is defined as a macro. However,
in my code, ( perhaps a lot other people's code too ), I had a line look
like:
xmlDoValidityCheckingDefaultValue = ( validate ) ? 1:0;
This means you are using older headers to compile your code or
that you did not include the headers defining xmlDoValidityCheckingDefaultValue
see include/libxml/globals.h :
extern int *__xmlDoValidityCheckingDefaultValue(void);
#ifdef LIBXML_THREAD_ENABLED
#define xmlDoValidityCheckingDefaultValue \
(*(__xmlDoValidityCheckingDefaultValue()))
#else
LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
#endif
Fix your environment or your code to have to proper definition of
the global variables.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]