Boost logo

Boost Users :

From: Matt Amato (matt.amato_at_[hidden])
Date: 2005-10-20 17:16:16


I have a simple Boost program using the unit test framework. When I
run the program in debug, I get a dump of memory leaks. I can't find
a way to stop these memory leaks from being reported (other than
fixing the leaks of course). What is the proper way of disabling this
output? I tried using
boost::unit_test::unit_test_log.set_threshold_level but that didn't
seem to work. Any ideas?

    Thanks,
        Matt

Running 4 test cases...

*** No errors detected
Detected memory leaks!
Dumping objects ->
{185} normal block at 0x00C3ABF0, 32 bytes long.
 Data: <Oct 19 2005 19:1> 4F 63 74 20 31 39 20 32 30 30 35 20 31 39 3A 31
{182} normal block at 0x00C3AAF0, 32 bytes long.
 Data: <Oct 19 2005 19:1> 4F 63 74 20 31 39 20 32 30 30 35 20 31 39 3A 31
{176} normal block at 0x00C3A3E0, 976 bytes long.
 Data: <<!DOCTYPE VAR [<> 3C 21 44 4F 43 54 59 50 45 20 56 41 52 20 5B 3C
Object dump complete.
Press any key to continue


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net