diff options
Diffstat (limited to '3rdParty/Boost/src/boost/signal.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/signal.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/signal.hpp b/3rdParty/Boost/src/boost/signal.hpp index d1538e1..7b31f36 100644 --- a/3rdParty/Boost/src/boost/signal.hpp +++ b/3rdParty/Boost/src/boost/signal.hpp @@ -1,47 +1,55 @@ // Boost.Signals library // Copyright Douglas Gregor 2001-2006. Use, modification and // distribution is subject to 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) // For more information, see http://www.boost.org/libs/signals #ifndef BOOST_SIGNAL_HPP #define BOOST_SIGNAL_HPP +#ifndef BOOST_SIGNALS_NO_DEPRECATION_WARNING +# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) +# pragma message ("Warning: Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING.") +# elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) +# warning "Boost.Signals is no longer being maintained and is now deprecated. Please switch to Boost.Signals2. To disable this warning message, define BOOST_SIGNALS_NO_DEPRECATION_WARNING." +# endif +#endif + #ifndef BOOST_SIGNALS_MAX_ARGS # define BOOST_SIGNALS_MAX_ARGS 10 #endif #include <boost/config.hpp> #include <boost/type_traits/function_traits.hpp> #include <boost/signals/signal0.hpp> #include <boost/signals/signal1.hpp> #include <boost/signals/signal2.hpp> #include <boost/signals/signal3.hpp> #include <boost/signals/signal4.hpp> #include <boost/signals/signal5.hpp> #include <boost/signals/signal6.hpp> #include <boost/signals/signal7.hpp> #include <boost/signals/signal8.hpp> #include <boost/signals/signal9.hpp> #include <boost/signals/signal10.hpp> #include <boost/function.hpp> #ifdef BOOST_HAS_ABI_HEADERS # include BOOST_ABI_PREFIX #endif namespace boost { #ifndef BOOST_FUNCTION_NO_FUNCTION_TYPE_SYNTAX namespace BOOST_SIGNALS_NAMESPACE { namespace detail { template<int Arity, typename Signature, typename Combiner, typename Group, typename GroupCompare, typename SlotFunction> class real_get_signal_impl; |