[Boost-bugs] [Boost C++ Libraries] #4346: Boost pool's not comaptible with Microsoft memory leak detection

Subject: [Boost-bugs] [Boost C++ Libraries] #4346: Boost pool's not comaptible with Microsoft memory leak detection
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-15 16:51:24


#4346: Boost pool's not comaptible with Microsoft memory leak detection
--------------------------------------------------+-------------------------
 Reporter: Arkadiy Shapkin <arkadiy_s@…> | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: None
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
--------------------------------------------------+-------------------------
 Boost pool classes not compatible with Microsoft memory leak detection.

 You can include that lines in code:
 #ifdef _DEBUG
    #define _CRTDBG_MAP_ALLOC
 #endif
 #include <crtdbg.h>
 #include "boost\pool\pool_alloc.hpp"

 We can solve problem using two ways:
 1. Rename all malloc & free methods
 2. Add #pragma push_macro, #undef and #pragma pop_macro lines. Also add
 alternative names for malloc and free methods

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4346>
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:03 UTC