Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame^] | 1 | ///////////////////////////////////////////////////////////////////////////// |
| 2 | // |
| 3 | // (C) Copyright Ion Gaztanaga 2006-2012 |
| 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_INTRUSIVE_CONFIG_INCLUDED |
| 14 | #define BOOST_INTRUSIVE_CONFIG_INCLUDED |
| 15 | #include <ndnboost/config.hpp> |
| 16 | #endif |
| 17 | |
| 18 | #ifdef BOOST_MSVC |
| 19 | |
| 20 | #pragma warning (push) |
| 21 | // |
| 22 | //'function' : resolved overload was found by argument-dependent lookup |
| 23 | //A function found by argument-dependent lookup (Koenig lookup) was eventually |
| 24 | //chosen by overload resolution. |
| 25 | // |
| 26 | //In Visual C++ .NET and earlier compilers, a different function would have |
| 27 | //been called. To pick the original function, use an explicitly qualified name. |
| 28 | // |
| 29 | |
| 30 | //warning C4275: non dll-interface class 'x' used as base for |
| 31 | //dll-interface class 'Y' |
| 32 | #pragma warning (disable : 4275) |
| 33 | //warning C4251: 'x' : class 'y' needs to have dll-interface to |
| 34 | //be used by clients of class 'z' |
| 35 | #pragma warning (disable : 4251) |
| 36 | #pragma warning (disable : 4675) |
| 37 | #pragma warning (disable : 4996) |
| 38 | #pragma warning (disable : 4503) |
| 39 | #pragma warning (disable : 4284) // odd return type for operator-> |
| 40 | #pragma warning (disable : 4244) // possible loss of data |
| 41 | #pragma warning (disable : 4521) ////Disable "multiple copy constructors specified" |
| 42 | #pragma warning (disable : 4522) |
| 43 | #pragma warning (disable : 4146) |
| 44 | #pragma warning (disable : 4267) //conversion from 'X' to 'Y', possible loss of data |
| 45 | #pragma warning (disable : 4127) //conditional expression is constant |
| 46 | #pragma warning (disable : 4706) //assignment within conditional expression |
| 47 | #pragma warning (disable : 4541) //'typeid' used on polymorphic type 'ndnboost::exception' with /GR- |
| 48 | #pragma warning (disable : 4512) //'typeid' used on polymorphic type 'ndnboost::exception' with /GR- |
| 49 | #endif |
| 50 | |
| 51 | //#define BOOST_INTRUSIVE_USE_ITERATOR_FACADE |
| 52 | //#define BOOST_INTRUSIVE_USE_ITERATOR_ENABLE_IF_CONVERTIBLE |