Boost logo

Boost :

Subject: Re: [boost] bootstrap.bat broken for MinGW since 1.55
From: Alan Birtles (alan_at_[hidden])
Date: 2013-12-04 08:47:53


Vladimir Prus <ghost <at> cs.msu.su> writes:

>
> On 03.12.2013 18:37, niXman wrote:
>
> >> I have tried with the source archive downloaded from Sourceforge, and with
> >> the master branch from Github, both times I get the same error. It works
> >> fine with Boost 1.54.
> >>
> >> Does anyone know what change could have caused this?
> >
> > Before the release of boost-1.55, I warned the developers about that.
But they preferred to ignore me
> instead of fix it.
>
> I'm am sorry that you feel like you've being ignored, but nobody in the
world likes to hack .bat files. Also, this
> is partially a known problem, see:
>
> https://github.com/boostorg/boost/blob/master/bootstrap.bat#L34
>
> Patches are appreciated!
>
> Thanks,
> Volodya
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
>

The following trick can be used to pass variables out from a setlocal block

SETLOCAL
    set my_variable=1234
( ENDLOCAL
    REM pass my_variable though the ENDLOCAL
    set my_variable=%my_variable%
)
echo my_variable


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk