[Cppunit-devel] disable warning of cppunit
Brought to you by:
blep
From: Jacklondon C. <jac...@to...> - 2004-08-31 03:08:09
|
Dear Sir/Ms, most easy way: add warning disable code #pragma warning( disable: 4251 4275 4786) to CppUnitApi.h under following code: #ifdef CPPUNIT_API #undef CPPUNIT_NEED_DLL_DECL #define CPPUNIT_NEED_DLL_DECL 1 #endif After add above code, all warning disabled except MoneyTest.cpp. Hope this will do some help to you. Jacklondon Chen |