List Info

Thread: threading=multi and msvc




threading=multi and msvc
user name
2006-11-13 17:47:41
"Johan Nilsson" <r.johan.nilssongmail.com> 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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
threading=multi and msvc
user name
2006-11-25 18:56:56
On Monday 13 November 2006 20:47, David Abrahams wrote:
> >> 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.

I think that default build is more "prefer a shared
runtime unless my 
dependents require something else". I don't think
there's any "weak 
preference" mechanism at the moment.

- Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )