Boost logo

Boost Users :

From: Edward Diener (eldiener_at_[hidden])
Date: 2006-10-19 19:00:04


John Dunn wrote:
> Peter Dimov wrote :
>> Does it fail with both the static and the dynamic VC runtime?
>
> I don't think you can use the static runtime with CLI. When I try, I get the
> following error -
>
> cl: Command line error D8016 : '/MTd' and '/clr' command-line options are
> incompatible
>
> Both the release and debug versions fail in the same manner.

It is possible to create a static run-time library which is compiled
with /clr, but that library must be compiled with /MD ( or /MDd ) and
not /MT ( or /MTd ). In effect, as you have found out, all /clr code
which used the CRT must use the dynamic RTL and never the static RTL.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net