Re: [xml] Re: Still problems when using libxml2 on mingw windows (includes patch)

Roland Schwingel a écrit :

When I am compiling with the definitions like in revision 1.10 it compiles all very well but when using it in some applications the xmlFree() function is not accessible it mostly points to invalid memory regions... The real cause
is hard to track down.

The behavior I had when the '-no-undefined' LDFLAG was absent was that I
couldn't link xmlint.exe, the linker complaining that __imp__xmlFree was
undefined. I don't know if it's related.

I also had a little problem with testSAX which was not compiling. It
seems not to know the timeb struct. Adding this at the top of the
testSAX.c solved it (patch attached) :

#include <sys/timeb.h>



--- ../../prog/gnome/gnome-xml/testSAX.c        2004-02-26 20:15:52.000000000 +0100
+++ testSAX.c   2004-02-27 17:01:04.000000000 +0100
@@ -8,6 +8,9 @@
 #include "libxml.h"
+#include <sys/timeb.h>
 #include <sys/time.h>

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