Hi,
It seems that there are 2 misuse of "volatile" in xml.c:
1) xmltext()
volatile xmlChar *xmlbuf = NULL; // -> xmlChar *volatile xmlbuf = NULL;
2) xml_xmlnodetoxmltype()
volatile xmlChar *str = NULL; // -> xmlChar *volatile str = NULL;
We want the pointer itself be volatile rather than what it points to.
--
Regards,
ChangAo Chen