Re: [Boost-bugs] [Boost C++ Libraries] #3542: Bug in documentation of detect_memory_leak parameter

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3542: Bug in documentation of detect_memory_leak parameter
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-22 12:31:52


#3542: Bug in documentation of detect_memory_leak parameter
------------------------------------------+---------------------------------
 Reporter: mloskot <mateusz@…> | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: test
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
------------------------------------------+---------------------------------

Comment(by mloskot <mateusz@…>):

 By the way, I've also noticed that the name of parameter is incorrect and
 it should be ''detect_memory_leaks''. If I ask to disable memory leak with
 ''_leak' version the leaks are still being detected:

 {{{
 C:\>test.exe --detect_memory_leak=0
 Test setup error: test tree is empty
 Detected memory leaks!
 Dumping objects ->
 {211} normal block at 0x027FA3E8, 516 bytes long.
  Data: < > 00 00 00 00 00 00 00 00 00 00 00 00 F4 01 00 00
 {210} normal block at 0x027FA2B8, 256 bytes long.
  Data: < > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 Object dump complete.
 }}}

 but if I try ''_leaks'' variant of the parameter, leaks check are
 effectively disabled:

 {{{
 C:\>test.exe --detect_memory_leaks=0
 Test setup error: test tree is empty
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3542#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC