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 bu...@apache.org on 2003/08/15 23:24:31 UTC
DO NOT REPLY [Bug 22475] New: -
error linking XercesLib using .Net compiler (VC7.0)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22475
error linking XercesLib using .Net compiler (VC7.0)
Summary: error linking XercesLib using .Net compiler (VC7.0)
Product: Xerces-C++
Version: 2.3.0
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Build
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: ll79_2000@yahoo.com
When building the XercerLib using MSVC 7.0 on Win2000, I am getting the
following error.
Creating library ..\..\..\..\..\Build\Win32\VC7\Release/xerces-c_2.lib and
object ..\..\..\..\..\Build\Win32\VC7\Release/xerces-c_2.exp
ParentNode.obj : error LNK2019: unresolved external symbol "private: __thiscall
xercesc_2_3::XMemory::XMemory(class xercesc_2_3::XMemory const &)" (??
0XMemory@xercesc_2_3@@AAE@ABV01@@Z) referenced in function "public: static bool
__cdecl xercesc_2_3::XMLString::startsWith(unsigned short const *
const,unsigned short const * const)" (?
startsWith@XMLString@xercesc_2_3@@SA_NQBG0@Z)
...
To make the linking work, I had to comment out the copy constructor for XMemory
in XMemory.hpp:
private:
// -----------------------------------------------------------------------
// Unimplemented constructors and operators
// -----------------------------------------------------------------------
XMemory(const XMemory&);
XMemory& operator=(const XMemory&);
Is this a bug?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org