Re: [xml] Small Problem with libxml2 & MSVC++



On Thu, May 06, 2004 at 08:27:22PM +0200, Christian Ehrlicher wrote:
Hello

I'm using libxml under win32 with the libs from 
ftp://ftp.zlatkovic.com/pub/libxml/. But I needed to change two small 
things to get it working - dunno know if you maybe fixed this yet. in 
valid.h you are using a variable named "list" (line 366, 370). Don't 
know why, but when I included the stl <list> before, then the compiler 
complains that 'list' is something like a reserved word (or whatever, I 
normally don't use win32, but this time I must... ). When I change the 
parameter to something other (e.g. clist), then all works fine. Maybe 
you can change this also in your version so I don't need to patch your 
include-files everytime I use a newer version.

  easy enough, I changed valid.h, so what is the second problem ?

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://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]