A colleague compiled MITK using the /MD flag of Visual Studio. This caused a compile error because a function _CrtSetReportMode was not defined.
As far as I understod, the cause is around line 90 in Core/Code/CppMicroServices/src/util/usUtils.cpp:
#if defined(_MSC_VER) && !defined(NDEBUG) && defined(_CRT_ERROR)
int reportMode = _CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_WNDW);
There, the code uses some CRT output methods which are only present in the debug runtime libraries. The code tests the availability using the NDEBUG flag. This NDEBUG flag, however, is not enough to ensure availability. Basically, NDEBUG is not defined in debug builds, but a debug build can be mixed with release runtime libraries using the /MD compiler flag.
A sufficient test would also test the _DEBUG flag, which is defined when the debug runtime libraries are used (http://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx).
Patch is attached, could be integrated. I guess this would also be nice for the snapshot release.