forked from boostorg/intrusive
49 lines
1.9 KiB
C++
49 lines
1.9 KiB
C++
|
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
//
|
|||
|
|
// (C) Copyright Ion Gazta<74>aga 2006-2007
|
|||
|
|
//
|
|||
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|||
|
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
|||
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|||
|
|
//
|
|||
|
|
// See http://www.boost.org/libs/intrusive for documentation.
|
|||
|
|
//
|
|||
|
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
#include <boost/config.hpp>
|
|||
|
|
|
|||
|
|
#ifdef BOOST_MSVC
|
|||
|
|
#pragma warning (push)
|
|||
|
|
//
|
|||
|
|
//'function' : resolved overload was found by argument-dependent lookup
|
|||
|
|
//A function found by argument-dependent lookup (Koenig lookup) was eventually
|
|||
|
|
//chosen by overload resolution.
|
|||
|
|
//
|
|||
|
|
//In Visual C++ .NET and earlier compilers, a different function would have
|
|||
|
|
//been called. To pick the original function, use an explicitly qualified name.
|
|||
|
|
//
|
|||
|
|
|
|||
|
|
//warning C4275: non dll-interface class 'x' used as base for
|
|||
|
|
//dll-interface class 'Y'
|
|||
|
|
#pragma warning (disable : 4275)
|
|||
|
|
//warning C4251: 'x' : class 'y' needs to have dll-interface to
|
|||
|
|
//be used by clients of class 'z'
|
|||
|
|
#pragma warning (disable : 4251)
|
|||
|
|
#pragma warning (disable : 4675)
|
|||
|
|
#pragma warning (disable : 4996)
|
|||
|
|
#pragma warning (disable : 4503)
|
|||
|
|
#pragma warning (disable : 4284) // odd return type for operator->
|
|||
|
|
#pragma warning (disable : 4244) // possible loss of data
|
|||
|
|
#pragma warning (disable : 4521) ////Disable "multiple copy constructors specified"
|
|||
|
|
#pragma warning (disable : 4522)
|
|||
|
|
#pragma warning (disable : 4146)
|
|||
|
|
#pragma warning (disable : 4267) //conversion from 'X' to 'Y', possible loss of data
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
#include <boost/config.hpp>
|
|||
|
|
#include <boost/detail/workaround.hpp>
|
|||
|
|
|
|||
|
|
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
|||
|
|
# pragma warn -8026 // shut up warning "cannot inline function because ..."
|
|||
|
|
# pragma warn -8027 // shut up warning "cannot inline function because ..."
|
|||
|
|
#endif
|