RE: [xml] LibXML 2.4.0 on Win32
- From: "Yon Derek" <yond pobox com>
- To: <xml gnome org>
- Subject: RE: [xml] LibXML 2.4.0 on Win32
- Date: Wed, 11 Jul 2001 18:30:06 -0700
I've made the change that causes all thos "inconsistent dll linkage"
warnings. Before the change libxslt wouldn't link correctly to libxml
and would crash. I didn't spend enough time to figure out how to both
silence the warnings and have working dll and I could live with
warnings. My point: it's easy to silence the warnings by reverting my
change but that wouldn't be good. It's probably possible to make it work
without warnings, just make sure that you know what you're doing.
Regards,
-----Original Message-----
From: xml-admin gnome org [mailto:xml-admin gnome org] On
Behalf Of Nilo S. Mismetti
Sent: Wednesday, July 11, 2001 7:52 AM
To: xml gnome org
Subject: [xml] LibXML 2.4.0 on Win32
Team,
On every release, that enhances for sure LibXML, we (poor
people that uses an operating system that owns 90% of the
market) experience the frustration caused by many warnings
detected by MSVC. In addition to that, the default
distribution comes with "trio", that refuses to compile.
How we can help to clean up those warnings from now on?
Regards,
Nilo
Attached is the output of MSVC:
--------------------Configuration: libxml2_so - Win32
Release--------------------
Performing Custom Build Step on .\libxml2.def.src
libxml2.def.src Compiling... catalog.c debugXML.c
DOCBparser.c encoding.c entities.c
E:\libxml\entities.c(49) : warning C4133: '==' : incompatible
types - from 'struct _xmlEntity *' to 'struct _xmlNode *' error.c
E:\libxml\error.c(72) : warning C4273: 'xmlGenericError' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\error.c(73) : warning C4273:
'xmlGenericErrorContext' : inconsistent dll linkage.
dllexport assumed. hash.c HTMLparser.c HTMLtree.c list.c
nanoftp.c nanohttp.c parser.c
E:\libxml\parser.c(83) : warning C4273:
'xmlGetWarningsDefaultValue' : inconsistent dll linkage.
dllexport assumed.
E:\libxml\parser.c(84) : warning C4273:
'xmlParserDebugEntities' : inconsistent dll linkage.
dllexport assumed.
E:\libxml\parser.c(91) : warning C4273:
'xmlSubstituteEntitiesDefaultValue'
: inconsistent dll linkage. dllexport assumed.
E:\libxml\parser.c(92) : warning C4273:
'xmlDoValidityCheckingDefaultValue'
: inconsistent dll linkage. dllexport assumed.
E:\libxml\parser.c(94) : warning C4273:
'xmlLoadExtDtdDefaultValue' : inconsistent dll linkage.
dllexport assumed.
E:\libxml\parser.c(95) : warning C4273:
'xmlPedanticParserDefaultValue' : inconsistent dll linkage.
dllexport assumed.
E:\libxml\parser.c(96) : warning C4273:
'xmlKeepBlanksDefaultValue' : inconsistent dll linkage.
dllexport assumed. parserInternals.c
E:\libxml\parserInternals.c(57) : warning C4273:
'xmlParserVersion' : inconsistent dll linkage. dllexport
assumed. SAX.c
E:\libxml\SAX.c(94) : warning C4273: 'xmlDefaultSAXLocator' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\SAX.c(1558) : warning C4273: 'xmlDefaultSAXHandler'
: inconsistent dll linkage. dllexport assumed.
E:\libxml\SAX.c(1638) : warning C4273:
'htmlDefaultSAXHandler' : inconsistent dll linkage.
dllexport assumed. tree.c
E:\libxml\tree.c(45) : warning C4273: 'xmlStringText' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\tree.c(46) : warning C4273: 'xmlStringTextNoenc' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\tree.c(48) : warning C4273: 'xmlStringComment' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\tree.c(49) : warning C4273: 'oldXMLWDcompatibility'
: inconsistent dll linkage. dllexport assumed.
E:\libxml\tree.c(50) : warning C4273: 'xmlIndentTreeOutput' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\tree.c(51) : warning C4273: 'xmlBufferAllocScheme'
: inconsistent dll linkage. dllexport assumed.
E:\libxml\tree.c(55) : warning C4273: 'xmlSaveNoEmptyTags' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\tree.c(4792) : warning C4273:
'xmlDefaultBufferSize' : inconsistent dll linkage. dllexport
assumed. uri.c valid.c xinclude.c xlink.c Generating Code...
E:\libxml\valid.c(3416) : warning C4761: integral size
mismatch in argument; conversion supplied
E:\libxml\nanohttp.c(775) : warning C4761: integral size
mismatch in argument; conversion supplied
E:\libxml\nanoftp.c(871) : warning C4761: integral size
mismatch in argument; conversion supplied Compiling... xmlIO.c
E:\libxml\xmlIO.c(147) : warning C4133: 'function' :
incompatible types - from 'struct stat *' to 'struct _stat *'
xmlmemory.c
E:\libxml\xmlmemory.c(625) : warning C4273: 'xmlFree' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\xmlmemory.c(626) : warning C4273: 'xmlMalloc' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\xmlmemory.c(627) : warning C4273: 'xmlRealloc' :
inconsistent dll linkage. dllexport assumed.
E:\libxml\xmlmemory.c(628) : warning C4273: 'xmlMemStrdup' :
inconsistent dll linkage. dllexport assumed. xpath.c
xpointer.c Generating Code... Linking...
Creating library release_so/libxml2.lib and object
release_so/libxml2.exp LINK : warning LNK4049: locally
defined symbol "_xmlFree" imported LINK : warning LNK4049:
locally defined symbol "_xmlMalloc" imported LINK : warning
LNK4049: locally defined symbol "_xmlGenericError" imported
LINK : warning LNK4049: locally defined symbol
"_xmlGenericErrorContext" imported LINK : warning LNK4049:
locally defined symbol "_xmlRealloc" imported LINK : warning
LNK4049: locally defined symbol "_xmlMemStrdup" imported LINK
: warning LNK4049: locally defined symbol
"_xmlDefaultSAXLocator" imported LINK : warning LNK4049:
locally defined symbol "_htmlDefaultSAXHandler" imported LINK
: warning LNK4049: locally defined symbol
"_xmlStringTextNoenc" imported LINK : warning LNK4049:
locally defined symbol "_xmlStringText" imported LINK :
warning LNK4049: locally defined symbol
"_xmlDefaultSAXHandler" imported LINK : warning LNK4049:
locally defined symbol "_xmlIndentTreeOutput" imported LINK :
warning LNK4049: locally defined symbol
"_xmlParserDebugEntities" imported LINK : warning LNK4049:
locally defined symbol "_xmlSubstituteEntitiesDefaultValue"
imported LINK : warning LNK4049: locally defined symbol
"_xmlGetWarningsDefaultValue" imported LINK : warning
LNK4049: locally defined symbol "_xmlKeepBlanksDefaultValue"
imported LINK : warning LNK4049: locally defined symbol
"_xmlPedanticParserDefaultValue" imported LINK : warning
LNK4049: locally defined symbol
"_xmlDoValidityCheckingDefaultValue" imported LINK : warning
LNK4049: locally defined symbol "_xmlLoadExtDtdDefaultValue" imported
libxml2.dll - 0 error(s), 49 warning(s)
_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]