Subject: [Boost-bugs] [Boost C++ Libraries] #5987: Error in boost-build/jam_src/build.bat
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-07 03:26:14
#5987: Error in boost-build/jam_src/build.bat
----------------------------------------+-----------------------------------
Reporter: multisitetracker@⦠| Owner: vladimir_prus
Type: Bugs | Status: new
Milestone: To Be Determined | Component: build
Version: Boost 1.47.0 | Severity: Problem
Keywords: script error |
----------------------------------------+-----------------------------------
in :Start
if "_%1_" == "__" (
call :Guess_Toolset
if not errorlevel 1 goto Setup_Toolset
) else (
call :Test_Option "%1"
if not errorlevel 1 ( <-- error here
call :Guess_Toolset
if not errorlevel 1 goto Setup_Toolset
) else (
setlocal & endlocal
set "BOOST_JAM_TOOLSET=%1"
shift
goto Setup_Toolset
)
)
is incorrect, will always ignore specified toolset, should be
if "_%1_" == "__" (
call :Guess_Toolset
if not errorlevel 1 goto Setup_Toolset
) else (
call :Test_Option "%1"
if errorlevel 1 (
call :Guess_Toolset
if not errorlevel 1 goto Setup_Toolset
) else (
setlocal & endlocal
set "BOOST_JAM_TOOLSET=%1"
shift
goto Setup_Toolset
)
)
which then allows
>build mingw
to work correctly
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5987> 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:07 UTC