Re: [Boost-bugs] [Boost C++ Libraries] #9800: build.bat works incorrectly because REM commands have illegal )'s in them

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9800: build.bat works incorrectly because REM commands have illegal )'s in them
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-03 16:11:17


#9800: build.bat works incorrectly because REM commands have illegal )'s in them
-------------------------------+----------------------------
  Reporter: aoney@… | Owner:
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: Building Boost
   Version: Boost 1.55.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+----------------------------
Changes (by steven_watanabe):

 * status: new => closed
 * resolution: => fixed


Old description:

> The Windows cmd interpreter badly handles )'s in rem statements,
> *sometimes* (but not always) closing "if" statements they are nested
> within. Per docs, parens are illegal in rem commands (see
> technet.microsoft.com/en-us/library/bb490986.aspx).
>
> On my Win7 64bit box, this was causing bootstrap vc12 to go down bizarre
> paths. One potential fix is to escape the parens, i.e. use ^( and ^)
> instead of () in comments. I wish I were making this up (sigh).

New description:

 The Windows cmd interpreter badly handles )'s in rem statements,
 *sometimes* (but not always) closing "if" statements they are nested
 within. Per docs, parens are illegal in rem commands (see
 technet.microsoft.com/en-us/library/bb490986.aspx).

 On my Win7 64bit box, this was causing bootstrap vc12 to go down bizarre
 paths. One potential fix is to escape the parens, i.e. use !^( and !^)
 instead of () in comments. I wish I were making this up (sigh).

--
Comment:
 Fixed in
 http://github.com/boostorg/build/commit/23032af425c3940810d5ff22e52475a02632c998
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9800#comment:3>
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:15 UTC