diff -ru boost.orig/boost/ptr_container/ptr_map_adapter.hpp boost/boost/ptr_container/ptr_map_adapter.hpp --- boost/ptr_container/ptr_map_adapter.hpp 2015-07-18 22:42:11.723941110 +0200 +++ boost/ptr_container/ptr_map_adapter.hpp 2015-07-18 22:45:56.525938583 +0200 @@ -16,6 +16,11 @@ # pragma once #endif +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + #include #include #include @@ -872,4 +877,8 @@ } // namespace 'boost' +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic pop +#endif + #endif diff -ru boost.orig/boost/ptr_container/ptr_map.hpp boost/boost/ptr_container/ptr_map.hpp --- boost/ptr_container/ptr_map.hpp 2015-01-25 20:27:11.000000000 +0100 +++ boost/ptr_container/ptr_map.hpp 2015-07-18 22:44:51.669939312 +0200 @@ -16,6 +16,11 @@ # pragma once #endif +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + #include #include @@ -162,4 +167,8 @@ } +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic pop +#endif + #endif diff -ru boost.orig/boost/ptr_container/ptr_sequence_adapter.hpp boost/boost/ptr_container/ptr_sequence_adapter.hpp --- boost/ptr_container/ptr_sequence_adapter.hpp 2015-07-18 22:42:11.734941110 +0200 +++ boost/boost/ptr_container/ptr_sequence_adapter.hpp 2015-07-18 22:47:28.662937548 +0200 @@ -16,6 +16,10 @@ # pragma once #endif +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif #include #include @@ -773,4 +777,8 @@ } // namespace 'boost' +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic pop +#endif + #endif diff -ru boost.orig/boost/ptr_container/ptr_set_adapter.hpp boost/boost/ptr_container/ptr_set_adapter.hpp --- boost/ptr_container/ptr_set_adapter.hpp 2015-01-25 20:27:11.000000000 +0100 +++ boost/ptr_container/ptr_set_adapter.hpp 2015-07-18 22:46:40.378938090 +0200 @@ -16,6 +16,11 @@ # pragma once #endif +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + #include #include #include @@ -689,4 +694,8 @@ } // namespace 'boost' +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic pop +#endif + #endif diff -ru boost.orig/boost/ptr_container/ptr_vector.hpp boost/boost/ptr_container/ptr_vector.hpp --- boost/ptr_container/ptr_vector.hpp 2015-01-25 20:27:11.000000000 +0100 +++ boost/ptr_container/ptr_vector.hpp 2015-07-18 22:48:11.431937067 +0200 @@ -16,6 +16,11 @@ # pragma once #endif +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + #include #include @@ -74,4 +79,8 @@ } +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic pop +#endif + #endif diff -ru boost.orig/boost/smart_ptr/detail/shared_count.hpp boost/boost/smart_ptr/detail/shared_count.hpp --- boost/smart_ptr/detail/shared_count.hpp 2015-06-06 00:40:42.000000000 +0200 +++ boost/smart_ptr/detail/shared_count.hpp 2015-07-18 22:49:13.985936364 +0200 @@ -18,6 +18,11 @@ // http://www.boost.org/LICENSE_1_0.txt) // +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + #ifdef __BORLANDC__ # pragma warn -8027 // Functions containing try are not expanded inline #endif @@ -696,4 +701,8 @@ # pragma warn .8027 // Functions containing try are not expanded inline #endif +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic pop +#endif + #endif // #ifndef BOOST_SMART_PTR_DETAIL_SHARED_COUNT_HPP_INCLUDED diff -ru boost.orig/boost/smart_ptr/scoped_ptr.hpp boost/boost/smart_ptr/scoped_ptr.hpp --- boost/smart_ptr/scoped_ptr.hpp 2015-06-06 00:40:42.000000000 +0200 +++ boost/smart_ptr/scoped_ptr.hpp 2015-07-18 22:50:07.597935761 +0200 @@ -11,6 +11,11 @@ // http://www.boost.org/libs/smart_ptr/scoped_ptr.htm // +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + #include #include #include @@ -154,4 +159,8 @@ } // namespace boost +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic pop +#endif + #endif // #ifndef BOOST_SMART_PTR_SCOPED_PTR_HPP_INCLUDED diff -ru boost.orig/boost/smart_ptr/shared_ptr.hpp boost/boost/smart_ptr/shared_ptr.hpp --- boost/smart_ptr/shared_ptr.hpp 2015-06-06 00:40:42.000000000 +0200 +++ boost/smart_ptr/shared_ptr.hpp 2015-07-18 22:50:59.615935177 +0200 @@ -14,6 +14,11 @@ // See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation. // +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + #include // for broken compiler workarounds // In order to avoid circular dependencies with Boost.TR1 @@ -1064,4 +1069,8 @@ } // namespace boost +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) +# pragma GCC diagnostic pop +#endif + #endif // #ifndef BOOST_SMART_PTR_SHARED_PTR_HPP_INCLUDED