|
Boost : |
From: Daryle Walker (darylew_at_[hidden])
Date: 2006-01-06 19:24:20
On 1/5/06 10:21 PM, "Gennadiy Rozental" <gennadiy.rozental_at_[hidden]>
wrote:
[Hartmut Kaiser <hartmut.kaiser_at_[hidden]> said earlier:]
>> 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?
> New components include overloaded global operator new. It shouldn't cause
> any problem (actually it doesn't for me in vc7.1 tests).
Two of the four regression tests for rational on VC 7.1 fail to link from
the same error. The other two tests fail from not finding the Boost.Test
library during its link search, so it may be a variant symptom of the same
problem. Check out Boost.Rational part of the report at
<http://engineering.meta-comm.com/boost-regression/CVS-HEAD/developer/issues
html>, hopefully for time-stamp "Fri, 6 Jan 2006 22:39:09 +0000".
(Actually, I had an earlier time, but the page updated while I was
double-checking it for writing this message.)
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk