Hi Radovan,

At 02.37 18/03/2005 +0100, Radovan Chytracek wrote:
Hi,

   after long time I tried to build our libraries against XercesC on
Windows using MsDev .NET 2003 and I am getting over 13000 these
warnings when creating static library. I was checking all the project
settings but no success. Is there any way to get rid of them?

The error messages list xerces-c_2_6D.dll, but there is no _dllimport/_dllexport in the function signature; did you modify the Xerces project or header files?
If you are the sources from CVS (vs using the official 2.6 release) can you try building Xerces as a static library (by selecting the "Static Build" configuration)?


Alberto

The warnings loook like:

xerces-c_2D.lib(xerces-c_2_6D.dll) : warning LNK4006: "public: void
__thiscall xercesc_2_6::BitSet::xorWith(class xercesc_2_6::BitSet
const &)" ([EMAIL PROTECTED]@xercesc_2_6@@QAEXABV12@@Z) already defined
in xerces-c_2D.lib(xerces-c_2_6D.dll); second definition ignored
xerces-c_2D.lib(xerces-c_2_6D.dll) : warning LNK4006:
"__declspec(dllimport) public: void __thiscall
xercesc_2_6::BitSet::xorWith(class xercesc_2_6::BitSet const &)"
([EMAIL PROTECTED]@xercesc_2_6@@QAEXABV12@@Z) already defined in
xerces-c_2D.lib(xerces-c_2_6D.dll); second definition ignored
xerces-c_2D.lib(xerces-c_2_6D.dll) : warning LNK4006: "public: static
unsigned short __cdecl
xercesc_2_6::XMLIBM1140Transcoder::xlatThisOne(unsigned char)"
([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED]) already
defined in xerces-c_2D.lib(xerces-c_2_6D.dll); second definition
ignored
xerces-c_2D.lib(xerces-c_2_6D.dll) : warning LNK4006:
"__declspec(dllimport) public: static unsigned short __cdecl
xercesc_2_6::XMLIBM1140Transcoder::xlatThisOne(unsigned char)"
([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED]) already
defined in xerces-c_2D.lib(xerces-c_2_6D.dll); second definition
ignored
xerces-c_2D.lib(xerces-c_2_6D.dll) : warning LNK4006: "public: static
unsigned short __cdecl
xercesc_2_6::XMLIBM1047Transcoder::xlatThisOne(unsigned char)"
([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED]) already
defined in xerces-c_2D.lib(xerces-c_2_6D.dll); second definition
ignored
xerces-c_2D.lib(xerces-c_2_6D.dll) : warning LNK4006:
"__declspec(dllimport) public: static unsigned short __cdecl
xercesc_2_6::XMLIBM1047Transcoder::xlatThisOne(unsigned char)"
([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED]) already
defined in xerces-c_2D.lib(xerces-c_2_6D.dll); second definition
ignored
xerces-c_2D.lib(xerces-c_2_6D.dll) : warning LNK4006: "public: static
unsigned short __cdecl
xercesc_2_6::XMLEBCDICTranscoder::xlatThisOne(unsigned char)"
([EMAIL PROTECTED]@xercesc_2_6@@[EMAIL PROTECTED]) already defined
in xerces-c_2D.lib(xerces-c_2_6D.dll); second definition ignored


-- Radovan Chytracek mailto:[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to