unit_test_unwarned.hpp 1.1 KB

12345678910111213141516171819202122232425262728
  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_TEST_UNIT_TEST_UNWARNED_HPP_JOFA_091204
  9. #define BOOST_ICL_TEST_UNIT_TEST_UNWARNED_HPP_JOFA_091204
  10. #include <boost/icl/detail/boost_config.hpp>
  11. #include <boost/detail/workaround.hpp>
  12. #ifdef BOOST_MSVC
  13. #pragma warning(push)
  14. #pragma warning(disable:4389) // boost/test/test_tools.hpp(509) : warning C4389: '==' : signed/unsigned mismatch
  15. #pragma warning(disable:4996) // 'std::_Traits_helper::copy_s': Function call with parameters that may be unsafe
  16. #endif
  17. #include <boost/test/unit_test.hpp>
  18. #ifdef BOOST_MSVC
  19. #pragma warning(pop)
  20. #endif
  21. #endif // BOOST_ICL_TEST_UNIT_TEST_UNWARNED_HPP_JOFA_091204