Re: [Boost-bugs] [Boost C++ Libraries] #4589: <runtime-debugging>on does nothing for libstdc++...

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4589: <runtime-debugging>on does nothing for libstdc++...
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-09 13:21:00


#4589: <runtime-debugging>on does nothing for libstdc++...
-------------------------------+--------------------------------------------
  Reporter: pluto@… | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: build
   Version: Boost 1.43.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by Kohei Takahashi <flast@…>):

 I think that should use toolset.flags in gcc.jam like followings.
 {{{
 --- tools/build/v2/tools/gcc.jam
 +++ tools/build/v2/tools/gcc.jam
 @@ -490,6 +490,7 @@ toolset.flags gcc.compile DEFINES <define> ;
  toolset.flags gcc.compile INCLUDES <include> ;
  toolset.flags gcc.compile.c++ TEMPLATE_DEPTH <c++-template-depth> ;
  toolset.flags gcc.compile.fortran USER_OPTIONS <fflags> ;
 +toolset.flags gcc.compile.c++ DEFINES <runtime-debugging>on :
 _GLIBCXX_DEBUG ;

  rule compile.c++.pch ( targets * : sources * : properties * )
  {
 }}}

 I tested under x86_64-linux-gnu / GCC 4.7.2 and works fine.

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