Re: STL operator::new conflict

Valery Fine (fine@bnl.gov)
Mon, 9 Mar 1998 10:18:07 -0500


On 8 Mar 98 at 21:02, William J Deninger wrote:

>
> Hello,
>
> I'm experiencing a linking problem when compiling root source code
> and the Standard Template Library (STL) deque. Apparently the
> operator::new in NEW_NewDelete.cpp and the operator::new in the STL
> memory.h both exists in global namespaces. Removal of NE
>
> // linking error
> "void * __cdecl operator new(unsigned int,void *)" (??2@YAPAXIPAX@Z)
> already defined in rootDoc.obj
>

Could you try whether "/link /FORCE[:{MULTIPLE|UNRESOLVED}]" option
helps to resolve the conflict
Valery