id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2646,Warnings from unit test,Paul A. Bristow,Gennadiy Rozental,"Sorry but I am still seeing lots of confusing warnings from unit test (trunk 50524) MSVC 2008 warning level 3 & 4, debug. (See attached file). I have added these to my test file to get a clean compile: #ifdef _MSC_VER # pragma warning(disable: 4800) // int' : forcing value to bool 'true' or 'false' # pragma warning(disable: 4310) // cast truncates constant value in unit_test_main # pragma warning(disable: 4996) // 'putenv': The POSIX name for this item is deprecated. # pragma warning(disable: 4224) // nonstandard extension used : formal parameter 'arg' was previously defined as a type #endif and this quiets them for my simple test #define BOOST_TEST_MODULE Scale_axis_Tests #include #include BOOST_AUTO_TEST_CASE(rounds_test) BOOST_CHECK_CLOSE(roundup10(0.99), 1., tol); ... (Adding these to supress_warnings.hpp has no effect). One complaint is that putenv( const_cast( fs.str().c_str() ) ); calls POSIX name and not the ISO C++. ",Bugs,closed,Boost 1.38.0,test,Boost 1.37.0,Cosmetic,fixed,,