Re: [Boost-bugs] [Boost C++ Libraries] #6525: format atldbgmem.h m_storage VS2010

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6525: format atldbgmem.h m_storage VS2010
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-26 14:38:27


#6525: format atldbgmem.h m_storage VS2010
-----------------------------------+----------------------------------------
  Reporter: epodkopaev@… | Owner: samuel_krempp
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: format
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------+----------------------------------------

Comment (by anonymous):

 This is still the case with boost 1.53.0 and VS2012. If I include e.g.
 boost property tree, and compile in debug mode, I get a

 {{{
 1>c:\boost\boost_1_53_0\boost\optional\optional.hpp(346): error C2061:
 syntax error : identifier 'm_storage'
 }}}
 I use the following for memory debugging:
 {{{
 #ifdef WIN32
         #include <crtdbg.h>
 #endif

 #ifdef _DEBUG
         #ifndef DBG_NEW
                 #define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__
 )
                 #define new DBG_NEW
         #endif
 #endif // _DEBUG
 }}}
 Without that, or in release mode, it's working fine.

 Can we somehow fix this?

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