boost_config.hpp 1.0 KB

1234567891011121314151617181920212223242526
  1. /*-----------------------------------------------------------------------------+
  2. Copyright (c) 2010-2010: 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_BOOST_CONFIG_HPP_JOFA_101031
  9. #define BOOST_ICL_DETAIL_BOOST_CONFIG_HPP_JOFA_101031
  10. // Since boost_1_44_0 boost/config.hpp can produce warnings too.
  11. #ifdef _MSC_VER
  12. #pragma warning(push)
  13. #pragma warning(disable:4996) // Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators'
  14. #endif
  15. #include <boost/config.hpp>
  16. #ifdef _MSC_VER
  17. #pragma warning(pop)
  18. #endif
  19. #endif