mirror of
https://github.com/yuzu-emu/ext-boost.git
synced 2024-12-23 08:15:32 +00:00
db95c7fe31
Keeps the boost libraries up to date. This also silences informational messages that get spammed throughout the build, such as: "Info: Boost.Config is older than your compiler version - probably nothing bad will happen - but you may wish to look for an update Boost version. Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message." Which makes the compilation process a lot less noisy on Windows. It's now much easier to actually spot warnings that occur.
44 lines
2.4 KiB
C++
44 lines
2.4 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// (C) Copyright Ion Gaztanaga 2006-2013
|
|
//
|
|
// 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.
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef BOOST_CONFIG_HPP
|
|
#include <boost/config.hpp>
|
|
#endif
|
|
|
|
#ifdef BOOST_MSVC
|
|
|
|
#pragma warning (push)
|
|
#pragma warning (disable : 4275) // non DLL-interface classkey "identifier" used as base for DLL-interface classkey "identifier"
|
|
#pragma warning (disable : 4251) // "identifier" : class "type" needs to have dll-interface to be used by clients of class "type2"
|
|
#pragma warning (disable : 4675) // "method" should be declared "static" and have exactly one parameter
|
|
#pragma warning (disable : 4996) // "function": was declared deprecated
|
|
#pragma warning (disable : 4503) // "identifier" : decorated name length exceeded, name was truncated
|
|
#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 : 4127) //conditional expression is constant
|
|
#pragma warning (disable : 4146) // unary minus operator applied to unsigned type, result still unsigned
|
|
#pragma warning (disable : 4267) //conversion from 'X' to 'Y', possible loss of data
|
|
#pragma warning (disable : 4541) //'typeid' used on polymorphic type 'boost::exception' with /GR-
|
|
#pragma warning (disable : 4512) //'typeid' used on polymorphic type 'boost::exception' with /GR-
|
|
#pragma warning (disable : 4522) // "class" : multiple assignment operators specified
|
|
#pragma warning (disable : 4706) //assignment within conditional expression
|
|
#pragma warning (disable : 4710) // function not inlined
|
|
#pragma warning (disable : 4714) // "function": marked as __forceinline not inlined
|
|
#pragma warning (disable : 4711) // function selected for automatic inline expansion
|
|
#pragma warning (disable : 4786) // identifier truncated in debug info
|
|
#pragma warning (disable : 4996) // "function": was declared deprecated
|
|
#endif
|
|
|
|
//#define BOOST_INTRUSIVE_USE_ITERATOR_FACADE
|
|
//#define BOOST_INTRUSIVE_USE_ITERATOR_ENABLE_IF_CONVERTIBLE
|