Boost logo

Boost-Build :

From: Konstantin Litvinenko (Konstantin.Litvinenko_at_[hidden])
Date: 2007-04-18 05:46:15


Hello, David!
You wrote on Wed, 18 Apr 2007 04:23:45 +0100:

 ??>> Right now I can't give you such example :( But what I can say that I
 ??>> so many times hit msvc runtime incompatibility in a past, so I
 ??>> strongly disagreed with any default behavion that can lead to ABI or
 ??>> runtime incompatibilities.

 DA> The onus is on you to show that it can happen for one bjam invocation
 DA> that you are actually likely to use. Otherwise, one can only assume
 DA> this is (and I don't mean this in an insulting way) nothing more than
 DA> FUD. All you need to substantiate your claim is one counterexample.

    Ok. Lets take slightly modified example 3 from your proposal

lib a : a.cpp ; # 1st alternative
lib a : a-dbg.cpp : <threading>multi <debug-symbols>on ; # 2nd alternative
exe test : test.cpp a ;

bjam invocation will be

bjam debug-symbols=on

With your proposal 'test' target will be build against single threaded
runtime, but 'a' will be build against multi threaded runtime. For VC 7.1
its fatal mistake.

With best regards, Konstantin Litvinenko.


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