Suppressed some unnecessary VC++ warnings so that tests are -W4 clean.

[SVN r31219]
This commit is contained in:
John Maddock
2005-10-07 14:27:39 +00:00
parent d453fa3e67
commit b5c4409c76

View File

@ -19,6 +19,11 @@
#pragma option -w-8008 -w-8066
#endif
#ifdef _MSC_VER
// We have to turn off warnings that occur within the test suite:
#pragma warning(disable:4127)
#endif
//
// basic configuration:
//
@ -53,7 +58,7 @@ boost::unit_test_framework::test_suite* get_master_unit(const char* name = 0);
class unit_initialiser
{
public:
unit_initialiser(void (*f)(), const char* name)
unit_initialiser(void (*f)(), const char* /*name*/)
{
get_master_unit("Type Traits")->add( BOOST_TEST_CASE(f) );
}