]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/icl/test/disable_test_warnings.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / icl / test / disable_test_warnings.hpp
CommitLineData
92f5a8d4 1/*-----------------------------------------------------------------------------+
7c673cae
FG
2Copyright (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>
92f5a8d4 13#include <boost/test/detail/suppress_warnings.hpp>
7c673cae
FG
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
92f5a8d4 19#endif
7c673cae 20
92f5a8d4
TL
21#if defined(BOOST_GCC)
22# pragma GCC diagnostic ignored "-Wsign-compare"
23#endif
7c673cae
FG
24
25#endif // BOOST_ICL_DETAIL_DISABLE_TEST_WARNINGS_HPP_JOFA_101031