xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Buck" <Robert.B...@mathworks.com>
Subject RE: operator new
Date Tue, 15 Jun 2004 12:20:45 GMT
I'm actually asking if you forgot the inline keyword in your own code
for the "nafxcwd.lib" library. It has been my experience that when I see
this sort of error, usually there's a missing inline keyword somewhere.

--Bob

-----Original Message-----
From: Milan Tomic [mailto:milan@setcce.org] 
Sent: Tuesday, June 15, 2004 8:06 AM
To: xerces-c-dev@xml.apache.org
Subject: RE: operator new


Hello Bob,

    Could you, please, tell me more about it? Is it some known Xerces
issue? How can I find its ID in bugzilla?

Thank you,
Milan


-----Original Message-----
From: Robert Buck [mailto:Robert.Buck@mathworks.com] 
Sent: Thursday, June 10, 2004 2:22 PM
To: xerces-c-dev@xml.apache.org
Subject: RE: operator new


Is this perhaps an issue of a missing "inline" keyword?

--Bob

-----Original Message-----
From: Milan Tomic [mailto:milan@setcce.org] 
Sent: Thursday, June 10, 2004 6:07 AM
To: Xerces-C
Subject: operator new


        I got this error: 
Xerces250D.lib(Win32PlatformUtils.obj) : error LNK2005: "void * __cdecl
operator new(unsigned int)" (??2@YAPAXI@Z) already defined in
nafxcwd.lib(afxmem.obj)
nafxcwd.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined
in MyCOMApp.obj 
Xerces250D.lib(Win32PlatformUtils.obj) : warning LNK4006: "void *
__cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in
nafxcwd.lib(afxmem.obj); second definition ignored
nafxcwd.lib(dllmodul.obj) : warning LNK4006: _DllMain@12 already defined
in MyCOMApp.obj; second definition ignored 
        Where in Win32PlatformUtils.cpp file operator new is defined? I
can't find it. How can I fix this error? 
Thank you, 
Milan 

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


Mime
View raw message