Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80000 - trunk/tools/build/v2/build
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-13 07:55:50


Author: jurko
Date: 2012-08-13 07:55:49 EDT (Mon, 13 Aug 2012)
New Revision: 80000
URL: http://svn.boost.org/trac/boost/changeset/80000

Log:
Boost Build cleanup - more detailed error reporting when attempting to register the same project id for multiple projects.
Text files modified:
   trunk/tools/build/v2/build/project.jam | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/build/project.jam
==============================================================================
--- trunk/tools/build/v2/build/project.jam (original)
+++ trunk/tools/build/v2/build/project.jam 2012-08-13 07:55:49 EDT (Mon, 13 Aug 2012)
@@ -604,18 +604,20 @@
         local orig-file = [ modules.peek $(orig-module) : __file__ ] ;
         local orig-main-id = [ project.attribute $(orig-module) id ] ;
         local orig-location = [ project.attribute $(orig-module) location ] ;
- local orig-p = [ target $(orig-module) ] ;
- local orig-name = [ $(orig-p).name ] ;
+ local orig-project = [ target $(orig-module) ] ;
+ local orig-name = [ $(orig-project).name ] ;
 
         import errors ;
         errors.user-error Attempt to redeclare already registered project id
             '$(id)'.
             : Original project:
             : " " Name: $(orig-name:E=---)
+ : " " Module: $(orig-module)
             : " " Main id: $(orig-main-id:E=---)
             : " " File: $(orig-file:E=---)
             : " " Location: $(orig-location:E=---)
             : New project:
+ : " " Module: $(module)
             : " " File: $(new-file:E=---)
             : " " Location: $(new-location:E=---) ;
     }


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