diff options
Diffstat (limited to 'src/boost/libs/gil/test/unit_test.hpp')
-rw-r--r-- | src/boost/libs/gil/test/unit_test.hpp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/boost/libs/gil/test/unit_test.hpp b/src/boost/libs/gil/test/unit_test.hpp new file mode 100644 index 00000000..2d9fbcaa --- /dev/null +++ b/src/boost/libs/gil/test/unit_test.hpp @@ -0,0 +1,48 @@ +// +// Copyright 2018 Mateusz Loskot <mateusz at loskot dot net> +// +// Distribtted 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 +// +#ifndef BOOST_GIL_TEST_UNIT_TEST_HPP +#define BOOST_GIL_TEST_UNIT_TEST_HPP + +#include <boost/config.hpp> + +#if defined(_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4702) // unreachable code +#endif + +#if defined(BOOST_CLANG) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wfloat-equal" +#pragma clang diagnostic ignored "-Wsign-conversion" +#endif + +#if defined(BOOST_GCC) && (BOOST_GCC >= 40900) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#pragma GCC diagnostic ignored "-Wfloat-equal" +#pragma GCC diagnostic ignored "-Wshadow" +#endif + +#include <boost/test/unit_test.hpp> + +#if defined(_MSC_VER) +#pragma warning(pop) +#endif + +#if defined(BOOST_CLANG) +#pragma clang diagnostic pop +#endif + +#if defined(BOOST_GCC) && (BOOST_GCC >= 40900) +#pragma GCC diagnostic pop +#endif + +namespace btt = boost::test_tools; +namespace but = boost::unit_test; + +#endif |