Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-11-13 04:12:58


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.

>From there, I could choose to either handle this using specific workarounds
for compiler(s) not supporting this configuration or, perhaps, even decide
to link statically.

/ Johan


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