From: Paul A Bristow (pbristow_at_[hidden])
Date: 2006-01-30 10:26:50
| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Paul A Bristow
| Sent: 23 January 2006 18:59
| To: boost_at_[hidden]
| Subject: [boost] Boost test tools using static library -
| operator new linkproblem
| In release mode (debug to
| is OK, and dll debug and release libs also OK)
| ty.obj) :
| error LNK2005: "void * __cdecl operator new(unsigned int)"
| already defined in libcpmt.lib(newaop.obj)
| tatic.exe : fatal error LNK1169: one or more multiply defined
| symbols found
| Suggestions about what I am doing wrong?
Thanks for your note saying you have fixed this. I'll try this out as soon
Meanwhile it works with /FORCE.
By The Way, before we get too far into doc updates, is there a really good
reason why unit test framework and test tools are separate libraries? They
appear to be the same apart from one extra file. Would it not reduce
confusion/compile time... to just have ONE library file.
I'm still not sure I understand when to use either a test_suite
unit_unit_test_suite, or int test_main.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk