Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79904 - trunk/tools/build/v2/kernel
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-07 09:09:33


Author: jurko
Date: 2012-08-07 09:09:31 EDT (Tue, 07 Aug 2012)
New Revision: 79904
URL: http://svn.boost.org/trac/boost/changeset/79904

Log:
Boost Build cleanup - errors.backtrace rule no longer displays an extra empty line if asked to list user modules only and there are no user modules in the current call stack.
Text files modified:
   trunk/tools/build/v2/kernel/errors.jam | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/kernel/errors.jam
==============================================================================
--- trunk/tools/build/v2/kernel/errors.jam (original)
+++ trunk/tools/build/v2/kernel/errors.jam 2012-08-07 09:09:31 EDT (Tue, 07 Aug 2012)
@@ -23,7 +23,10 @@
     if $(.user-modules-only)
     {
         local bt = [ nearest-user-location ] ;
- ECHO "$(prefix) at $(bt) " ;
+ if $(bt)
+ {
+ ECHO "$(prefix) at $(bt) " ;
+ }
         for local n in $(args)
         {
             if $($(n))-is-defined


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk