Boost C++ Libraries: Ticket #10183: MSVC: Compile error with _CRTDBG_MAP_ALLOC https://svn.boost.org/trac10/ticket/10183 <p> If _CRTDBG_MAP_ALLOC is defined, there is the following define in the Visual C++ headers: </p> <pre class="wiki">#define free(p) _free_dbg(p, _NORMAL_BLOCK) </pre><p> That leads to compile errors because of a function named "free" in array_allocator.hpp: </p> <pre class="wiki">boost/smart_ptr/detail/array_allocator.hpp(174): error C2059: syntax error : 'constant' boost/smart_ptr/detail/array_allocator.hpp(187) : see reference to class template instantiation 'boost::detail::as_allocator&lt;A,T,R&gt;' being compiled boost/smart_ptr/detail/array_allocator.hpp(182): error C2059: syntax error : 'constant' </pre><p> 1.55 worked fine. Could that function be renamed please? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10183 Trac 1.4.3 raad@… Wed, 09 Jul 2014 08:27:54 GMT severity changed https://svn.boost.org/trac10/ticket/10183#comment:1 https://svn.boost.org/trac10/ticket/10183#comment:1 <ul> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Regression</span> </li> </ul> Ticket Peter Dimov Thu, 10 Jul 2014 00:06:08 GMT owner changed https://svn.boost.org/trac10/ticket/10183#comment:2 https://svn.boost.org/trac10/ticket/10183#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Peter Dimov</span> to <span class="trac-author">Glen Fernandes</span> </li> </ul> Ticket Glen Fernandes Sat, 26 Jul 2014 06:47:21 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10183#comment:3 https://svn.boost.org/trac10/ticket/10183#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in master for the 1.56.0 release. </p> Ticket