Re: [Boost-bugs] [Boost C++ Libraries] #4100: some boost classes have sizeof that depends on NDEBUG

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4100: some boost classes have sizeof that depends on NDEBUG
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-24 22:33:02


#4100: some boost classes have sizeof that depends on NDEBUG
----------------------------------+-----------------------------------------
  Reporter: fjoe@… | Owner: jano_gaspar
      Type: Bugs | Status: new
 Milestone: Boost 1.43.0 | Component: circular_buffer
   Version: Boost 1.42.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+-----------------------------------------

Comment (by jano_gaspar):

 The problem is that I want to have circular buffer's debug support
 automatically enabled in debug more and disabled in release mode.

 Let me ask you a question:
 Suppose the NDEBUG macro does not affect the size but it affects the
 implementation of the methods only. Now considering your example of two
 binaries in the same address space - do you think such a program will now
 work OK? If so then why?

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