|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52541 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2009-04-22 11:22:55
Author: vladimir_prus
Date: 2009-04-22 11:22:55 EDT (Wed, 22 Apr 2009)
New Revision: 52541
URL: http://svn.boost.org/trac/boost/changeset/52541
Log:
Don't crash when the absolute path to compiler cannot be found.
Text files modified:
trunk/tools/build/v2/tools/msvc.jam | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/tools/msvc.jam
==============================================================================
--- trunk/tools/build/v2/tools/msvc.jam (original)
+++ trunk/tools/build/v2/tools/msvc.jam 2009-04-22 11:22:55 EDT (Wed, 22 Apr 2009)
@@ -729,7 +729,10 @@
# MSVC 7.1 compiler even though it thinks it is using the msvc-9.0
# toolset version.
command = [ common.get-absolute-tool-path $(command[-1]) ] ;
-
+ }
+
+ if $(command)
+ {
local parent = [ path.make $(command) ] ;
parent = [ path.parent $(parent) ] ;
parent = [ path.native $(parent) ] ;
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