Boost logo

Boost-Build :

From: Mat Marcus (mat-lists_at_[hidden])
Date: 2008-04-18 11:15:28

On Thu, Apr 17, 2008 at 11:52 PM, Roland Schwarz
<roland.schwarz_at_[hidden]> wrote:
> Mat Marcus wrote:
> > When I reverse out this assert, bjam builds successfully. If my
> > reasoning is correct, should I fill out a bug report, or can someone
> > just make the patch?
> Hmm, since bjam builds without problems on other machines I suggest
> first to try this out if it is a general solution and will not break
> other builds.

Yes, this does seem odd. I don't see it is possible for bjam to build
successfully on any machine when OS_CYGWIN is #defined, despite your
report that succeeded. That is why I am asked for someone else to
validate my reasoning, since I must be missing something.

> Mat can you please send me your patch, so I will try on my setup.

Thanks, it would be most helpful if you tried it. The patch is simple.
Replace line 752 of expand.c in tools/jam/src, which currently reads:

    assert( !strcmp( l->string, "c:\\foo\\bar" ) );

with its opposite:

    assert( strcmp( l->string, "c:\\foo\\bar" ) );

 - Mat

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