0b2472af014d23959d38ecbce541563f601a70b8
[senf.git] / boost / intrusive / detail / config_begin.hpp
1 /////////////////////////////////////////////////////////////////////////////\r
2 //\r
3 // (C) Copyright Ion GaztaƱaga  2006-2007\r
4 //\r
5 // Distributed under the Boost Software License, Version 1.0.\r
6 //    (See accompanying file LICENSE_1_0.txt or copy at\r
7 //          http://www.boost.org/LICENSE_1_0.txt)\r
8 //\r
9 // See http://www.boost.org/libs/intrusive for documentation.\r
10 //\r
11 /////////////////////////////////////////////////////////////////////////////\r
12 #ifdef _MSC_VER\r
13    #pragma warning (push)\r
14    //\r
15    //'function' : resolved overload was found by argument-dependent lookup\r
16    //A function found by argument-dependent lookup (Koenig lookup) was eventually \r
17    //chosen by overload resolution.\r
18    //\r
19    //In Visual C++ .NET and earlier compilers, a different function would have \r
20    //been called. To pick the original function, use an explicitly qualified name.\r
21    //\r
22 \r
23    //warning C4275: non dll-interface class 'x' used as base for\r
24    //dll-interface class 'Y'\r
25    #pragma warning (disable : 4275)\r
26    //warning C4251: 'x' : class 'y' needs to have dll-interface to\r
27    //be used by clients of class 'z'\r
28    #pragma warning (disable : 4251)\r
29    #pragma warning (disable : 4675)\r
30    #pragma warning (disable : 4996)\r
31    #pragma warning (disable : 4503)\r
32    #pragma warning (disable : 4284) // odd return type for operator->\r
33    #pragma warning (disable : 4244) // possible loss of data\r
34    #pragma warning (disable : 4521) ////Disable "multiple copy constructors specified"\r
35    #pragma warning (disable : 4522)\r
36    #pragma warning (disable : 4146)\r
37    #pragma warning (disable : 4267) //conversion from 'X' to 'Y', possible loss of data\r
38 #endif\r
39 \r
40 #include <boost/config.hpp>\r
41 #include <boost/detail/workaround.hpp>\r
42 \r
43 #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))\r
44 #  pragma warn -8026 // shut up warning "cannot inline function because ..."\r
45 #  pragma warn -8027 // shut up warning "cannot inline function because ..."\r
46 #endif\r