summaryrefslogtreecommitdiff
path: root/external/boost/boost.wdeprecated-auto_ptr.patch.0
blob: b02af6ddb9150c3048e212a4d14b60507464f577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
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 <boost/ptr_container/detail/map_iterator.hpp>
 #include <boost/ptr_container/detail/associative_ptr_container.hpp>
 #include <boost/ptr_container/detail/meta_functions.hpp>
@@ -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 <map>
 #include <boost/ptr_container/ptr_map_adapter.hpp>
 
@@ -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 <boost/ptr_container/detail/reversible_ptr_container.hpp>
 #include <boost/ptr_container/indirect_fun.hpp>
@@ -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 <boost/ptr_container/detail/associative_ptr_container.hpp>
 #include <boost/ptr_container/detail/meta_functions.hpp>
 #include <boost/ptr_container/detail/void_ptr_iterator.hpp>
@@ -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 <vector>
 #include <boost/ptr_container/ptr_sequence_adapter.hpp>
 
@@ -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 <boost/config.hpp>
 #include <boost/assert.hpp>
 #include <boost/checked_delete.hpp>
@@ -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 <boost/config.hpp>   // 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
--- boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp.orig2	2015-12-15 18:24:31.318854561 +0100
+++ boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp	2015-12-15 18:26:19.804853629 +0100
@@ -11,6 +11,11 @@
 #if !defined BOOST_SPIRIT_GRAMMAR_IPP
 #define BOOST_SPIRIT_GRAMMAR_IPP
 
+#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
 #if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE)
 #include <boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp>
 #include <algorithm>
@@ -368,4 +373,8 @@
 
 }} // namespace boost::spirit
 
+#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
+# pragma GCC diagnostic pop
+#endif
+
 #endif
--- boost/spirit/home/classic/symbols/impl/tst.ipp.orig	2015-12-15 19:08:48.978831726 +0100
+++ boost/spirit/home/classic/symbols/impl/tst.ipp	2015-12-15 19:09:35.064831330 +0100
@@ -9,6 +9,11 @@
 #ifndef BOOST_SPIRIT_TST_IPP
 #define BOOST_SPIRIT_TST_IPP
 
+#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
 ///////////////////////////////////////////////////////////////////////////////
 #include <memory> // for std::auto_ptr
 #include <boost/spirit/home/classic/core/assert.hpp>
@@ -278,4 +283,8 @@
 
 }} // namespace boost::spirit
 
+#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__)
+# pragma GCC diagnostic pop
+#endif
+
 #endif