Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-06-30 15:19:11


On Thursday 19 April 2007 20:24, Alexei Alexandrov wrote:

[CC for convenience, please follow on list]

> Vladimir Prus <ghost <at> cs.msu.su> writes:
>
> >
> > This patch appears to have effect even on Linux, no?
> >
>
> Yes, you're right... The correct patch is
>
> Index: common.jam
> ===================================================================
> RCS file: /cvsroot/boost/boost/tools/build/v2/tools/common.jam,v
> retrieving revision 1.45.2.14
> diff -u -p -r1.45.2.14 common.jam
> --- common.jam 2 Apr 2007 00:51:15 -0000 1.45.2.14
> +++ common.jam 19 Apr 2007 15:59:25 -0000
> @@ -785,6 +785,8 @@ local rule runtime-tag ( name : type ? :
> # Similar functionality in V2 is not implemented yet, so we just
> # check for toolsets which are know to care about runtime debug
> if <toolset>msvc in $(properties)
> + || ( <toolset>intel && <toolset-intel:platform>win in $(properties) )
> + || <toolset>intel-win

What is the second added line supposed to do? It appears to always evaluate to
non-empty string, thereby causing the code to always add 'g' tag?

> || <stdlib>stlport in $(properties)
> {
> if <runtime-debugging>on in $(properties) { tag += g ; }

- Volodya


Boost-Build 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