1 /*-----------------------------------------------------------------------------+ 2 Copyright (c) 2008-2009: Joachim Faulhaber 3 +------------------------------------------------------------------------------+ 4 Distributed under the Boost Software License, Version 1.0. 5 (See accompanying file LICENCE.txt or copy at 6 http://www.boost.org/LICENSE_1_0.txt) 7 +-----------------------------------------------------------------------------*/ 8 #ifndef BOOST_ICL_DETAIL_DISABLE_TEST_WARNINGS_HPP_JOFA_101031 9 #define BOOST_ICL_DETAIL_DISABLE_TEST_WARNINGS_HPP_JOFA_101031 10 11 #include <boost/icl/detail/boost_config.hpp> 12 #include <boost/detail/workaround.hpp> 13 #include <boost/test/detail/suppress_warnings.hpp> 14 15 #ifdef BOOST_MSVC // These warnings are disabled permanently for tests. 16 #pragma warning(disable:4996) // Function call with parameters that may be unsafe 17 #pragma warning(disable:4503) // decorated name length exceeded, name was truncated 18 #pragma warning(disable:4702) // unreachable code 19 #endif 20 21 #if defined(BOOST_GCC) 22 # pragma GCC diagnostic ignored "-Wsign-compare" 23 #endif 24 25 #endif // BOOST_ICL_DETAIL_DISABLE_TEST_WARNINGS_HPP_JOFA_101031 26