Run most of the unordered container tests (not the exception tests) on warning

level 4 on Visual C++.


[SVN r38648]
This commit is contained in:
Daniel James
2007-08-14 09:55:30 +00:00
parent 3ebd8bc9f2
commit 36f4508019
10 changed files with 67 additions and 7 deletions

View File

@@ -9,6 +9,7 @@ project unordered-test/container
: requirements
<toolset>intel-linux:"<cxxflags>-strict_ansi -cxxlib-icc"
<toolset>gcc:<cxxflags>-Wsign-promo
<toolset>msvc:<cxxflags>/W4
;
test-suite container-tests

View File

@@ -3,7 +3,17 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if defined(BOOST_MSVC)
#pragma warning(push)
#pragma warning(disable:4100) // unreferenced formal parameter
#endif
#include <boost/concept_check.hpp>
#if defined(BOOST_MSVC)
#pragma warning(pop)
#endif
#include <boost/mpl/assert.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/type_traits/is_same.hpp>