[xml] Annoyance with MSVC 6 in valid.h

This is a "problem", I have encountered since quite a while. When  
trying to compile an application in MSVC 6.0, that utilizes the 
libxml2, you always get an error in the valid.h line 3658 and 362

XMLPUBFUN int XMLCALL           
                xmlValidGetValidElements(xmlNode *prev,
                                         xmlNode *next,
                                         const xmlChar **list,
                                         int max);
XMLPUBFUN int XMLCALL           
                xmlValidGetPotentialChildren(xmlElementContent *ctree,
                                         const xmlChar **list,
                                         int *len,
                                         int max);

It thinks the "list"s are STL onjects. I am using the STLPort 
(www.stlport.org), so I don't know, if it happens with the normal 
STL, too. It's easy to fix, you just have to remove or rename the 
"list" from the prototypes. I just wanted to point this out, because 
it's a bit annoying...

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]