config_begin.hpp 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // (C) Copyright Ion Gaztanaga 2006-2013
  4. //
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // See http://www.boost.org/libs/intrusive for documentation.
  10. //
  11. /////////////////////////////////////////////////////////////////////////////
  12. #ifndef BOOST_CONFIG_HPP
  13. #include <boost/config.hpp>
  14. #endif
  15. #ifdef BOOST_MSVC
  16. #pragma warning (push)
  17. #pragma warning (disable : 4275) // non DLL-interface classkey "identifier" used as base for DLL-interface classkey "identifier"
  18. #pragma warning (disable : 4251) // "identifier" : class "type" needs to have dll-interface to be used by clients of class "type2"
  19. #pragma warning (disable : 4675) // "method" should be declared "static" and have exactly one parameter
  20. #pragma warning (disable : 4996) // "function": was declared deprecated
  21. #pragma warning (disable : 4503) // "identifier" : decorated name length exceeded, name was truncated
  22. #pragma warning (disable : 4284) // odd return type for operator->
  23. #pragma warning (disable : 4244) // possible loss of data
  24. #pragma warning (disable : 4521) ////Disable "multiple copy constructors specified"
  25. #pragma warning (disable : 4127) //conditional expression is constant
  26. #pragma warning (disable : 4146) // unary minus operator applied to unsigned type, result still unsigned
  27. #pragma warning (disable : 4267) //conversion from 'X' to 'Y', possible loss of data
  28. #pragma warning (disable : 4541) //'typeid' used on polymorphic type 'boost::exception' with /GR-
  29. #pragma warning (disable : 4512) //'typeid' used on polymorphic type 'boost::exception' with /GR-
  30. #pragma warning (disable : 4522) // "class" : multiple assignment operators specified
  31. #pragma warning (disable : 4706) //assignment within conditional expression
  32. #pragma warning (disable : 4710) // function not inlined
  33. #pragma warning (disable : 4714) // "function": marked as __forceinline not inlined
  34. #pragma warning (disable : 4711) // function selected for automatic inline expansion
  35. #pragma warning (disable : 4786) // identifier truncated in debug info
  36. #pragma warning (disable : 4996) // "function": was declared deprecated
  37. #endif
  38. //#define BOOST_INTRUSIVE_USE_ITERATOR_FACADE
  39. //#define BOOST_INTRUSIVE_USE_ITERATOR_ENABLE_IF_CONVERTIBLE