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 
13 #ifndef BOOST_CONFIG_HPP
14 #include <boost/config.hpp>
15 #endif
16 
17 #ifdef BOOST_MSVC
18 
19    #pragma warning (push)
20    #pragma warning (disable : 4275) // non DLL-interface classkey "identifier" used as base for DLL-interface classkey "identifier"
21    #pragma warning (disable : 4251) // "identifier" : class "type" needs to have dll-interface to be used by clients of class "type2"
22    #pragma warning (disable : 4675) // "method" should be declared "static" and have exactly one parameter
23    #pragma warning (disable : 4996) // "function": was declared deprecated
24    #pragma warning (disable : 4503) // "identifier" : decorated name length exceeded, name was truncated
25    #pragma warning (disable : 4284) // odd return type for operator->
26    #pragma warning (disable : 4244) // possible loss of data
27    #pragma warning (disable : 4521) ////Disable "multiple copy constructors specified"
28    #pragma warning (disable : 4127) //conditional expression is constant
29    #pragma warning (disable : 4146) // unary minus operator applied to unsigned type, result still unsigned
30    #pragma warning (disable : 4267) //conversion from 'X' to 'Y', possible loss of data
31    #pragma warning (disable : 4541) //'typeid' used on polymorphic type 'boost::exception' with /GR-
32    #pragma warning (disable : 4512) //'typeid' used on polymorphic type 'boost::exception' with /GR-
33    #pragma warning (disable : 4522) // "class" : multiple assignment operators specified
34    #pragma warning (disable : 4706) //assignment within conditional expression
35    #pragma warning (disable : 4710) // function not inlined
36    #pragma warning (disable : 4714) // "function": marked as __forceinline not inlined
37    #pragma warning (disable : 4711) // function selected for automatic inline expansion
38    #pragma warning (disable : 4786) // identifier truncated in debug info
39    #pragma warning (disable : 4996) // "function": was declared deprecated
40 #endif
41 
42 //#define BOOST_INTRUSIVE_USE_ITERATOR_FACADE
43 //#define BOOST_INTRUSIVE_USE_ITERATOR_ENABLE_IF_CONVERTIBLE
44