config_begin.hpp 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. //
  18. //'function' : resolved overload was found by argument-dependent lookup
  19. //A function found by argument-dependent lookup (Koenig lookup) was eventually
  20. //chosen by overload resolution.
  21. //
  22. //In Visual C++ .NET and earlier compilers, a different function would have
  23. //been called. To pick the original function, use an explicitly qualified name.
  24. //
  25. //warning C4275: non dll-interface class 'x' used as base for
  26. //dll-interface class 'Y'
  27. #pragma warning (disable : 4275)
  28. //warning C4251: 'x' : class 'y' needs to have dll-interface to
  29. //be used by clients of class 'z'
  30. #pragma warning (disable : 4251)
  31. #pragma warning (disable : 4675)
  32. #pragma warning (disable : 4996)
  33. #pragma warning (disable : 4503)
  34. #pragma warning (disable : 4284) // odd return type for operator->
  35. #pragma warning (disable : 4244) // possible loss of data
  36. #pragma warning (disable : 4521) ////Disable "multiple copy constructors specified"
  37. #pragma warning (disable : 4127) //conditional expression is constant
  38. #pragma warning (disable : 4146)
  39. #pragma warning (disable : 4267) //conversion from 'X' to 'Y', possible loss of data
  40. #pragma warning (disable : 4541) //'typeid' used on polymorphic type 'boost::exception' with /GR-
  41. #pragma warning (disable : 4512) //'typeid' used on polymorphic type 'boost::exception' with /GR-
  42. #pragma warning (disable : 4522)
  43. #pragma warning (disable : 4706) //assignment within conditional expression
  44. #pragma warning (disable : 4710) // function not inlined
  45. #pragma warning (disable : 4714) // "function": marked as __forceinline not inlined
  46. #pragma warning (disable : 4711) // function selected for automatic inline expansion
  47. #pragma warning (disable : 4786) // identifier truncated in debug info
  48. #pragma warning (disable : 4996) // "function": was declared deprecated
  49. #endif
  50. //#define BOOST_INTRUSIVE_USE_ITERATOR_FACADE
  51. //#define BOOST_INTRUSIVE_USE_ITERATOR_ENABLE_IF_CONVERTIBLE