$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-01-05 22:21:50
> 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_at_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_at_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