When attempting to build 1.12.1 with VS2010 (based on VS2008 work), numerous C4251 warnings (W1) show up due to a known problem between the VS2010 compiler and the associated STL libraries that ship with the compiler. [In the cppunit case, the STL class causing the problem is std::string.]
Example of output (repeated numerous times):
D:\...\cppunit\include\cppunit/Exception.h(82): warning C4251: 'CppUnit::Exception::m_whatMessage' : class 'std::basic_string<_Elem,_Traits,_Ax>' needs to have dll-interface to be used by clients of class 'CppUnit::Exception'
[The best description of the problem and remedy that I am aware of is at: <http://www.unknownroad.com/rtfm/VisualStudio/warningC4251.html> ]