Hello all.
I have the following program:
--------------------------
#define BOOST_TEST_MODULE Test
#include <boost/test/unit_test.hpp>
#include <boost/test/test_case_template
.hpp>
#include <boost/mpl/list.hpp>
typedef boost::mpl::list<float,double> Types;
BOOST_AUTO_TEST_CASE_TEMPLATE( my_test, T, Types )
{
}
--------------------------
The program compiles and links successfully.
However, when compiled with Multithreaded Debug Dll runtime library (/MDd) The program reports:
Running 2 test cases...
*** No errors detected
But when compiled with Mulithreaded Debug runtime library (/MTD) The program reports:
Running 2 test cases...
*** No errors detected
Detected memory leaks!
Dumping objects ->
{94} normal block at 0x00342ED8, 7 bytes long.
Data: <double > 64 6F 75 62 6C 65 00
{93} normal block at 0x00342EA0, 8 bytes long.
Data: < .4 )4 > D8 2E 34 00 B0 29 34 00
{84} normal block at 0x003429E8, 6 bytes long.
Data: <float > 66 6C 6F 61 74 00
{83} normal block at 0x003429B0, 8 bytes long.
Data: < )4 > E8 29 34 00 00 00 00 00
Object dump complete.
What could cause this?
Any suggestions?
Greg