
6 Jan
2006
6 Jan
'06
3:21 a.m.
Hi all,
Using the Boost.Test library on Windows (VC7.1) gives me the following error:
libboost_unit_test_framework-vc71-mt-sgd-1_34.lib(exception_safety.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in libcpmtd.lib(newop.obj)
The same occurs when I use te /MDd memory model:
libboost_unit_test_framework-vc71-mt-gd-1_34.lib(exception_safety.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in msvcprtd.lib(newop_s.obj)
Any clues?
Regards Hartmut
New components include overloaded global operator new. It shouldn't cause any problem (actually it doesn't for me in vc7.1 tests). Gennadiy