Linking Boost Locale under Windows

While linking boost locale 1.51 in VC 10.0 I'm getting following errors:

http://pastebin.com/VX4xv2pR

C runtime : Multi-thread debug DLL
Run time check : /RTC1


Code causing errors:
in header :
#include <boost\locale.hpp>

in cpp:

using namespace boost::locale;
generator gen;

std::locale::global(gen(""));



Thanks for any tips on how to handle it.
Topic archived. No new replies allowed.