Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2006-11-13 12:47:41


"Johan Nilsson" <r.johan.nilsson_at_[hidden]> writes:

> Roland Schwarz wrote:
>> Johan Nilsson wrote:
>>> +1 for generating an error.
>>
>> Sure?
>
> Yes.
>
>> Consider:
>>
>> The author has the intent to
>> <threading>single <runtime-link>shared
>>
>> She specifies this in a platform independent manner.
>>
>> Now on platform A this might indeed work.
>>
>> But on platform B (e.g. windows) it won't.
>
> Isn't this more of a compiler-specific issue than O/S specific? I get your
> point though.
>
>>
>> Would you expect, only platform B generating an
>> error, or fall-back B to a safe emulation?
>
> I'd prefer only platform B generating an error. If I explicitly request a
> shared runtime library I'd like to either get it, or fail.

I think we need to distinguish "requires a shared runtime" from
"I prefer a shared runtime if one is available."

I was under the impression that we made that distinguish by putting
<runtime>shared either in requirements or in a default build request.

-- 
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