1 --- boost/ptr_container/ptr_map.hpp
2 +++ boost/ptr_container/ptr_map.hpp
7 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
8 +# pragma GCC diagnostic push
9 +# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
13 #include <boost/ptr_container/ptr_map_adapter.hpp>
19 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
20 +# pragma GCC diagnostic pop
24 --- boost/ptr_container/ptr_map_adapter.hpp
25 +++ boost/ptr_container/ptr_map_adapter.hpp
30 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
31 +# pragma GCC diagnostic push
32 +# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
35 #include <boost/ptr_container/detail/map_iterator.hpp>
36 #include <boost/ptr_container/detail/associative_ptr_container.hpp>
37 #include <boost/ptr_container/detail/meta_functions.hpp>
40 } // namespace 'boost'
42 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
43 +# pragma GCC diagnostic pop
47 --- boost/ptr_container/ptr_set_adapter.hpp
48 +++ boost/ptr_container/ptr_set_adapter.hpp
53 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
54 +# pragma GCC diagnostic push
55 +# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
58 #include <boost/ptr_container/detail/associative_ptr_container.hpp>
59 #include <boost/ptr_container/detail/meta_functions.hpp>
60 #include <boost/ptr_container/detail/void_ptr_iterator.hpp>
63 } // namespace 'boost'
65 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
66 +# pragma GCC diagnostic pop
70 --- boost/ptr_container/ptr_sequence_adapter.hpp
71 +++ boost/ptr_container/ptr_sequence_adapter.hpp
76 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
77 +# pragma GCC diagnostic push
78 +# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
81 #include <boost/ptr_container/detail/reversible_ptr_container.hpp>
82 #include <boost/ptr_container/indirect_fun.hpp>
85 } // namespace 'boost'
87 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
88 +# pragma GCC diagnostic pop
92 --- boost/ptr_container/ptr_vector.hpp
93 +++ boost/ptr_container/ptr_vector.hpp
98 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
99 +# pragma GCC diagnostic push
100 +# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
104 #include <boost/ptr_container/ptr_sequence_adapter.hpp>
110 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
111 +# pragma GCC diagnostic pop
115 --- boost/smart_ptr/detail/shared_count.hpp
116 +++ boost/smart_ptr/detail/shared_count.hpp
118 // http://www.boost.org/LICENSE_1_0.txt)
121 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
122 +# pragma GCC diagnostic push
123 +# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
127 # pragma warn -8027 // Functions containing try are not expanded inline
130 # pragma warn .8027 // Functions containing try are not expanded inline
133 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
134 +# pragma GCC diagnostic pop
137 #endif // #ifndef BOOST_SMART_PTR_DETAIL_SHARED_COUNT_HPP_INCLUDED
138 --- boost/smart_ptr/scoped_ptr.hpp
139 +++ boost/smart_ptr/scoped_ptr.hpp
141 // http://www.boost.org/libs/smart_ptr/scoped_ptr.htm
144 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
145 +# pragma GCC diagnostic push
146 +# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
149 #include <boost/config.hpp>
150 #include <boost/assert.hpp>
151 #include <boost/checked_delete.hpp>
156 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
157 +# pragma GCC diagnostic pop
160 #endif // #ifndef BOOST_SMART_PTR_SCOPED_PTR_HPP_INCLUDED
161 --- boost/smart_ptr/shared_ptr.hpp
162 +++ boost/smart_ptr/shared_ptr.hpp
164 // See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation.
167 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
168 +# pragma GCC diagnostic push
169 +# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
172 #include <boost/config.hpp> // for broken compiler workarounds
174 #if defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(BOOST_MSVC6_MEMBER_TEMPLATES)
175 @@ -1036,4 +1036,8 @@
177 #endif // #if defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(BOOST_MSVC6_MEMBER_TEMPLATES)
179 +#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
180 +# pragma GCC diagnostic pop
183 #endif // #ifndef BOOST_SMART_PTR_SHARED_PTR_HPP_INCLUDED