I'm compiling my app /MT and linking against the boost -mt-s libraries (multithreaded static), but the boost regex library (version 1.45) seems to be pulling in the /MD msvcrt.lib, which causes linker errors.
I can workaround the problem using /NODEFAULTLIB:msvcrt.lib, but I'd much rather fix it. It it a known bug in boost or am doing something stupid?
Relevant linker (/VERBOSE:lib) output:
Searching /boost/stage/lib\libboost_regex-vc100-mt-s-1_45.lib: Searching C:\Program Files\Microsoft Visual Studio 10.0\VC\LIB\msvcprt.lib:
Finished searching libraries LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library