Re: [xml] #define IN_LIBXML, a link error and a couple of warnings...

On Tue, Mar 19, 2002 at 09:53:43AM -0000, Richard Jinks wrote:
Just downloaded the new build, libxml2-2.4.18.tar.gz.
When compiling the libxml2 library, (Win2000, VC++ 6 Pro) you now get the
"warning C4005: 'IN_LIBXML' : macro redefinition"
for *every* C file instead of the one warning in libxml.h you used to get,
which could beoverridden with a #ifdef easily...

  Well the problem is probably somewhere else in the MSC makefile

On a side note, there are now 3 new warnings from nanohttp.c:
C:\libxml\libxml2-2.4.18\nanohttp.c(453) : warning C4018: '==' :
signed/unsigned mismatch
C:\libxml\libxml2-2.4.18\nanohttp.c(552) : warning C4018: '==' :
signed/unsigned mismatch
C:\libxml\libxml2-2.4.18\nanohttp.c(779) : warning C4018: '==' :
signed/unsigned mismatch

  fd_set wfd;
  FD_SET(s, &wfd);

Generates a warning, sorry can't fix this myself,

and an error linking xmlcatalog:
xmlcatalog.obj : error LNK2001: unresolved external symbol _xmlFree
xmlcatalog/xmlcatalog.exe : fatal error LNK1120: 1 unresolved externals

  Again probably a problem in the MSC makefile,

  Wait for Igor to find the problems...


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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