Boost C++ Libraries: Ticket #5020: build.bat selects incorrect toolset https://svn.boost.org/trac10/ticket/5020 <p> Building on Win7 64-bit. In function <strong>:Test_Path</strong>, statement <em>set test=%~$PATH:1</em> is not getting errorlevel 1 when the file is not found (win7 bug?). This results in msvc being selected as the toolset. As a workaround, I changed the line (in Test_PATH):<br /> </p> <p> <em>if not errorlevel 1 set FOUND_PATH=%~dp$PATH:1</em> <br />to:<br /> <em>if not errorlevel 1 if _%test% NEQ _ set FOUND_PATH=%~dp$PATH:1</em> </p> <p> All callers of Test_Path were also changed to test FOUND_PATH for a value. A cleaner solution may be able to remove the errorlevel 1 tests. </p> <p> ...chris. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5020 Trac 1.4.3