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



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:
"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...

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

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

The other external test programs compile and link fine.

Thanks,
Richard


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




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