|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64550 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2010-08-02 14:46:06
Author: vladimir_prus
Date: 2010-08-02 14:46:04 EDT (Mon, 02 Aug 2010)
New Revision: 64550
URL: http://svn.boost.org/trac/boost/changeset/64550
Log:
Fix reporting of sources that have no type.
Text files modified:
trunk/tools/build/v2/build/generators.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/tools/build/v2/build/generators.py
==============================================================================
--- trunk/tools/build/v2/build/generators.py (original)
+++ trunk/tools/build/v2/build/generators.py 2010-08-02 14:46:04 EDT (Mon, 02 Aug 2010)
@@ -888,7 +888,7 @@
"""
for t in targets:
if not t.type ():
- raise BaseException ("target '%s' has no type" % str (t))
+ get_manager().errors()("target '%s' has no type" % str (t))
def find_viable_generators_aux (target_type, prop_set):
""" Returns generators which can be used to construct target of specified type
@@ -1061,7 +1061,7 @@
__active_generators = []
global __construct_stack
- if __construct_stack:
+ if not __construct_stack:
__ensure_type (sources)
__construct_stack.append (1)
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