Boost logo

Boost Users :

Subject: Re: [Boost-users] Using the /RTC option without specifying a debug runtime will lead to linker errors
From: Igor R (boost.lists_at_[hidden])
Date: 2011-12-28 12:09:54


>> "/RTC cannot be used with compiler optimizations "
>> http://msdn.microsoft.com/en-us/library/8wtf2dfz(v=VS.100).aspx
>
> Thanks for your reply Igor,
> I'm aware of that /RTC cannot be used with optimizations and therefore I disabled them (/Zd If I remember correctly),

Well, if you don't mind to disable optiomizations, then what do you
mean by saying "release build"?

> however I still get the boost error.

I believe, you have to compile with /MTd (or /MDd, if you link CRT
dynamically). See "C/C++" --> "Code generation" page.


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