Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-25 08:01:50


Jürgen Hunold <hunold_at_[hidden]> writes:

> Hi !
>
> I've finally taken some time to analyse my remaining NT problems.
> Here's the first:
>
> Due to some 3rdparty library, I've got a project to be built with
> <exception-handling>off
>
> This leads to
>
> e:/libraries/boost_cvs/tools/build/v2/build\feature.jam:669: in
> expand-composites from module feature
> error: explicitly-specified values of non-free feature
> <asynch-exceptions> conflict
> error: existing values: off on
> error: value from expanding <asynch-exceptions>on : (x:G=)
>
> (full trace in exception.txt attached)
>
> This boils down to Boost.Test,
> which contains
>
> alias minimal : : : :
> <toolset>msvc:<asynch-exceptions>on
>
> which Boost.Build tries to build, because it is not explicit.

What's weird about this is:

What does it mean to build an alias??!

I think the right fix would address that problem.

> When compiling another project I get (shortened output from bjam -d+2)
>
> msvc.compile.c++ ..\..\..
> \build\xxx\msvc-7.1\develop\asynch-exceptions-on\baseio.obj
>
> call "c:/Programme/Microsoft Visual Studio .NET
> 2003/Vc7\bin\vcvars32.bat" > nul
> cl /Zm800 -nologo
> -TP /Zi /Ob2 /GR /MD /Zc:forScope /Zc:wchar_t /Ogity /O2 /Gs /EHs /EHa
> -wd4675 /EHc- /WX @"..\..\..
> cl : Command line warning D4025 : overriding '/EHs' with '/EHa'
> baseio.cpp
>
> This is clearly a misconfiguration and also fixed by the patch.

How does the patch fix that? It's non-obvious to me.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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