
| -----Original Message----- | From: boost-bounces@lists.boost.org | [mailto:boost-bounces@lists.boost.org] On Behalf Of Paul A Bristow | Sent: 23 January 2006 18:59 | To: boost@lists.boost.org | Subject: [boost] Boost test tools using static library - | operator new linkproblem | | In release mode (debug to | libboost_unit_test_framework-vc80-mt-sgd-1_34.lib | is OK, and dll debug and release libs also OK) | | Compiling... | test_tools_test.cpp | Linking... | libboost_unit_test_framework-vc80-mt-s-1_34.lib(exception_safe | ty.obj) : | error LNK2005: "void * __cdecl operator new[](unsigned int)" | (??_U@YAPAXI@Z) | already defined in libcpmt.lib(newaop.obj) | I:\boost-06-01-13-0500\libs\test\build\msvc71_proj\Release\tes | t_tools_test_s | tatic.exe : fatal error LNK1169: one or more multiply defined | symbols found | | Suggestions about what I am doing wrong? | | | Thanks | | Paul Thanks for your note saying you have fixed this. I'll try this out as soon as possible. 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.