[xml] Compile error with 2.3.4 on win32.



Hi,

I get the following error when compiling using the
libxml2_a.dsp MSVC file under Win32 (plus 46
warnings):
----
C:\CVSHome\Source\lib\libxml\libxml2-2.4.3\xpath.c(2507)
: error C2373: 'xmlXPathNsLookup' : redefinition;
different type modifiers
        ..\..\include\libxml/xpathInternals.h(391) :
see declaration of 'xmlXPathNsLookup'
-----

If I change the header file line to the following, it
compiles at least...:
OLD:
const xmlChar *    xmlXPathNsLookup(xmlXPathContextPtr
ctxt, const xmlChar *ns_uri);
NEW:
xmlChar *    xmlXPathNsLookup(xmlXPathContextPtr ctxt,
const xmlChar *prefix); 

Is this a fix for it??

Regards  
   Magnus.



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com




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