From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-11-13 03:19:43
Phillip Seaver wrote:
> Vladimir Prus wrote:
>> Ok, now what do you think should happen on MSVC, for the following
>> exe a : a.cpp
>> : <threading>single <runtime-link>shared
>> Should this silently use <threading>multi, or be a an error?
> Whichever you choose to silently ignore, it will be wrong for
> someone. :->
> Seriously, though, I think it should be an error. Either the user
> get multi-threaded code when they didn't expect it, or they will be
> linking the static CRT in when they wanted to link against the DLL.
> violates the principle of least surprise.
+1 for generating an error.
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