I am compiling my / MT application and linking to boost -mt-s libraries (multi-threaded statics), but the regex boost library (version 1.45) seems to be pulling in / MD msvcrt.lib, which causes an error linker.
I can solve the problem using /NODEFAULTLIB:msvcrt.lib, but I would rather fix it. Is this a known bug in boost or am I doing something stupid?
Corresponding linker (/ VERBOSE: lib):
Search / boost / stage / lib \ libboost_regex-vc100-mt-s-1_45.lib: Search C: \ Program Files \ Microsoft Visual Studio 10.0 \ VC \ LIB \ msvcprt.lib:
Ready-made LINK search libraries: warning LNK4098: defaultlib 'MSVCRT' conflicts with other libs; use / NODEFAULTLIB: library
source
share