Boost logo

Boost-Build :

Subject: [Boost-build] Parameter passing breakage (Was: Major engine changes)
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-12-06 03:42:15

On 30/11/11 04:02, Steven Watanabe wrote:
> I've just committed a major rewrite of the
> jam interpreter.


it looks some of your changes broke Boost.Build/Python tests. The easiest one to reproduce
is the test which fails on this statement:

        if [ ] in CYGWIN NT

Here, '' is actually a function in Python, taking zero parameters. However, engine
passes 1 parameter to it (which parameter is an empty list). I've traced this down to
this code in function.c:

     if ( inner->args->count == 0 )
         lol_add( inner->args, list_pop_front( first ) );

but I am not quite sure what is the purpose here in the first place. Could you comment?


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