1 #ifndef BOOST_SMART_PTR_DETAIL_SP_DISABLE_DEPRECATED_HPP_INCLUDED
2 #define BOOST_SMART_PTR_DETAIL_SP_DISABLE_DEPRECATED_HPP_INCLUDED
4 // MS compatible compilers support #pragma once
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
11 // boost/smart_ptr/detail/sp_disable_deprecated.hpp
13 // Copyright 2015 Peter Dimov
15 // Distributed under the Boost Software License, Version 1.0.
16 // See accompanying file LICENSE_1_0.txt or copy at
17 // http://www.boost.org/LICENSE_1_0.txt)
20 #include <boost/config.hpp>
22 #if defined( __GNUC__ ) && ( defined( __GXX_EXPERIMENTAL_CXX0X__ ) || ( __cplusplus >= 201103L ) )
24 # if defined( BOOST_GCC )
26 # if BOOST_GCC >= 40600
27 # define BOOST_SP_DISABLE_DEPRECATED
30 # elif defined( __clang__ ) && defined( __has_warning )
32 # if __has_warning( "-Wdeprecated-declarations" )
33 # define BOOST_SP_DISABLE_DEPRECATED
40 #endif // #ifndef BOOST_SMART_PTR_DETAIL_SP_DISABLE_DEPRECATED_HPP_INCLUDED