Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-03-07 10:24:07

Vladimir Prus <ghost_at_[hidden]> writes:

> David Abrahams wrote:
>> That's line 583 in my copy, but there's definitely a bug in that line:
>> c:/boost/tools/build/new/virtual-target.jam:583:
>> toolset.set-target-variables $(self.action-name[1]) $(actual-targets[0]) :
>> zero is not a valid index. Also:
>> c:/boost/tools/build/new/property.jam:148: if $(x[0]) < $(y[0])
> Guess we should fix it too? But I don't know what the code is supposed to
> do.

Done. Unfortunately $(x[0]) seems to be the same as $(x[1]) for all
x. I wonder if we shouldn't cause an error instead?

>> I ran some simple tests and it seemed to work out just fine: both
>> of the targets' variables would be used to build the pair.
> Please see the attached file. It causes settings only for one target to
> be in effect.

OK, I'm convinced.

Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at