You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Martin Bosticky <mb...@aimltd.co.uk> on 2002/10/24 15:18:43 UTC

compiling xerces into a static library

Hi.

I have compiled xerces into a static library on VC6 since I wanted to
add an XML parser but didn't want to carry the distribution overhead
needs

Is such practice discouraged? I nave noticed I got extra 8 warnings when
compiling it and well, I am not sure if that would make the library
unstable when compiled that way.

The lib ends up 24 MB (release) and massive 41 MB in debug and after
compile with my originally 384 Kb application becomes about 4MB in Debug
and 156KB in release becomes 1.4MB which is kind of reasonable I
suppose.

Any comments on this kind of compiling strategy are welcome.



By the way, I got these warnings when compiling the static library
xerces and they could be because I have only guessed at the appropriate
settings:

xercesc\dom\impl\DOMDocumentImpl.cpp(108) : warning C4355: 'this' : used
in base member initializer list
xercesc\dom\impl\DOMDocumentImpl.cpp(109) : warning C4355: 'this' : used
in base member initializer list
xercesc\dom\impl\DOMDocumentImpl.cpp(138) : warning C4355: 'this' : used
in base member initializer list
xercesc\dom\impl\DOMDocumentImpl.cpp(139) : warning C4355: 'this' : used
in base member initializer list

xercesc\dom\impl\DOMParentNode.cpp(73) : warning C4355: 'this' : used in
base member initializer list
xercesc\dom\impl\DOMParentNode.cpp(81) : warning C4355: 'this' : used in
base member initializer list

xercesc\dom\deprecated\DocumentImpl.cpp(99) : warning C4355: 'this' :
used in base member initializer list
xercesc\dom\deprecated\DocumentImpl.cpp(118) : warning C4355: 'this' :
used in base member initializer list



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org