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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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 &)" (??
[EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z) referenced in function "public: static bool 
__cdecl xercesc_2_3::XMLString::startsWith(unsigned short const * 
const,unsigned short const * const)" (?
[EMAIL PROTECTED]@xercesc_2_3@@[EMAIL PROTECTED])
...

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to