Bump for 3.6-28
[LibreOffice.git] / boost / boost.6369.warnings.patch
blob2cc1ebd27b2a1a94a0bc706d0f460184190811fe
1 --- misc/boost_1_44_0/boost/date_time/gregorian/gregorian_io.hpp 2012-01-08 20:16:41.321760852 +0000
2 +++ misc/build/boost_1_44_0/boost/date_time/gregorian/gregorian_io.hpp 2012-01-08 20:25:43.233484675 +0000
3 @@ -77,14 +77,14 @@
4 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
5 if (strm_sentry) {
6 try {
7 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
8 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
10 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
11 - if(std::has_facet<date_input_facet>(is.getloc())) {
12 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, d);
13 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
14 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, d);
16 else {
17 - date_input_facet* f = new date_input_facet();
18 + lcl_date_input_facet* f = new lcl_date_input_facet();
19 std::locale l = std::locale(is.getloc(), f);
20 is.imbue(l);
21 f->get(sit, str_end, is, d);
22 @@ -138,14 +138,14 @@
23 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
24 if (strm_sentry) {
25 try {
26 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
27 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
29 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
30 - if(std::has_facet<date_input_facet>(is.getloc())) {
31 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, dd);
32 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
33 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, dd);
35 else {
36 - date_input_facet* f = new date_input_facet();
37 + lcl_date_input_facet* f = new lcl_date_input_facet();
38 std::locale l = std::locale(is.getloc(), f);
39 is.imbue(l);
40 f->get(sit, str_end, is, dd);
41 @@ -202,14 +202,14 @@
42 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
43 if (strm_sentry) {
44 try {
45 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
46 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
48 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
49 - if(std::has_facet<date_input_facet>(is.getloc())) {
50 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, dp);
51 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
52 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, dp);
54 else {
55 - date_input_facet* f = new date_input_facet();
56 + lcl_date_input_facet* f = new lcl_date_input_facet();
57 std::locale l = std::locale(is.getloc(), f);
58 is.imbue(l);
59 f->get(sit, str_end, is, dp);
60 @@ -261,14 +261,14 @@
61 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
62 if (strm_sentry) {
63 try {
64 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
65 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
67 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
68 - if(std::has_facet<date_input_facet>(is.getloc())) {
69 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, m);
70 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
71 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, m);
73 else {
74 - date_input_facet* f = new date_input_facet();
75 + lcl_date_input_facet* f = new lcl_date_input_facet();
76 std::locale l = std::locale(is.getloc(), f);
77 is.imbue(l);
78 f->get(sit, str_end, is, m);
79 @@ -318,14 +318,14 @@
80 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
81 if (strm_sentry) {
82 try {
83 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
84 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
86 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
87 - if(std::has_facet<date_input_facet>(is.getloc())) {
88 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, wd);
89 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
90 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, wd);
92 else {
93 - date_input_facet* f = new date_input_facet();
94 + lcl_date_input_facet* f = new lcl_date_input_facet();
95 std::locale l = std::locale(is.getloc(), f);
96 is.imbue(l);
97 f->get(sit, str_end, is, wd);
98 @@ -359,14 +359,14 @@
99 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
100 if (strm_sentry) {
101 try {
102 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
103 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
105 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
106 - if(std::has_facet<date_input_facet>(is.getloc())) {
107 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, gd);
108 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
109 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, gd);
111 else {
112 - date_input_facet* f = new date_input_facet();
113 + lcl_date_input_facet* f = new lcl_date_input_facet();
114 std::locale l = std::locale(is.getloc(), f);
115 is.imbue(l);
116 f->get(sit, str_end, is, gd);
117 @@ -400,14 +400,14 @@
118 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
119 if (strm_sentry) {
120 try {
121 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
122 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
124 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
125 - if(std::has_facet<date_input_facet>(is.getloc())) {
126 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, gy);
127 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
128 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, gy);
130 else {
131 - date_input_facet* f = new date_input_facet();
132 + lcl_date_input_facet* f = new lcl_date_input_facet();
133 std::locale l = std::locale(is.getloc(), f);
134 is.imbue(l);
135 f->get(sit, str_end, is, gy);
136 @@ -458,14 +458,14 @@
137 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
138 if (strm_sentry) {
139 try {
140 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
141 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
143 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
144 - if(std::has_facet<date_input_facet>(is.getloc())) {
145 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, pd);
146 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
147 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, pd);
149 else {
150 - date_input_facet* f = new date_input_facet();
151 + lcl_date_input_facet* f = new lcl_date_input_facet();
152 std::locale l = std::locale(is.getloc(), f);
153 is.imbue(l);
154 f->get(sit, str_end, is, pd);
155 @@ -515,14 +515,14 @@
156 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
157 if (strm_sentry) {
158 try {
159 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
160 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
162 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
163 - if(std::has_facet<date_input_facet>(is.getloc())) {
164 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, nday);
165 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
166 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, nday);
168 else {
169 - date_input_facet* f = new date_input_facet();
170 + lcl_date_input_facet* f = new lcl_date_input_facet();
171 std::locale l = std::locale(is.getloc(), f);
172 is.imbue(l);
173 f->get(sit, str_end, is, nday);
174 @@ -573,14 +573,14 @@
175 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
176 if (strm_sentry) {
177 try {
178 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
179 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
181 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
182 - if(std::has_facet<date_input_facet>(is.getloc())) {
183 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, fkd);
184 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
185 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, fkd);
187 else {
188 - date_input_facet* f = new date_input_facet();
189 + lcl_date_input_facet* f = new lcl_date_input_facet();
190 std::locale l = std::locale(is.getloc(), f);
191 is.imbue(l);
192 f->get(sit, str_end, is, fkd);
193 @@ -631,14 +631,14 @@
194 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
195 if (strm_sentry) {
196 try {
197 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
198 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
200 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
201 - if(std::has_facet<date_input_facet>(is.getloc())) {
202 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, lkd);
203 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
204 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, lkd);
206 else {
207 - date_input_facet* f = new date_input_facet();
208 + lcl_date_input_facet* f = new lcl_date_input_facet();
209 std::locale l = std::locale(is.getloc(), f);
210 is.imbue(l);
211 f->get(sit, str_end, is, lkd);
212 @@ -690,14 +690,14 @@
213 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
214 if (strm_sentry) {
215 try {
216 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
217 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
219 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
220 - if(std::has_facet<date_input_facet>(is.getloc())) {
221 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, fka);
222 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
223 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, fka);
225 else {
226 - date_input_facet* f = new date_input_facet();
227 + lcl_date_input_facet* f = new lcl_date_input_facet();
228 std::locale l = std::locale(is.getloc(), f);
229 is.imbue(l);
230 f->get(sit, str_end, is, fka);
231 @@ -749,14 +749,14 @@
232 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
233 if (strm_sentry) {
234 try {
235 - typedef typename date_time::date_input_facet<date, CharT> date_input_facet;
236 + typedef typename date_time::date_input_facet<date, CharT> lcl_date_input_facet;
238 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
239 - if(std::has_facet<date_input_facet>(is.getloc())) {
240 - std::use_facet<date_input_facet>(is.getloc()).get(sit, str_end, is, fkb);
241 + if(std::has_facet<lcl_date_input_facet>(is.getloc())) {
242 + std::use_facet<lcl_date_input_facet>(is.getloc()).get(sit, str_end, is, fkb);
244 else {
245 - date_input_facet* f = new date_input_facet();
246 + lcl_date_input_facet* f = new lcl_date_input_facet();
247 std::locale l = std::locale(is.getloc(), f);
248 is.imbue(l);
249 f->get(sit, str_end, is, fkb);
250 --- misc/boost_1_44_0/boost/date_time/posix_time/posix_time_io.hpp 2012-01-08 20:16:41.342761072 +0000
251 +++ misc/build/boost_1_44_0/boost/date_time/posix_time/posix_time_io.hpp 2012-01-09 09:47:25.426730124 +0000
252 @@ -75,13 +75,13 @@
253 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
254 if (strm_sentry) {
255 try {
256 - typedef typename date_time::time_input_facet<ptime, CharT> time_input_facet;
257 + typedef typename date_time::time_input_facet<ptime, CharT> lcl_time_input_facet;
258 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
259 - if(std::has_facet<time_input_facet>(is.getloc())) {
260 - std::use_facet<time_input_facet>(is.getloc()).get(sit, str_end, is, pt);
261 + if(std::has_facet<lcl_time_input_facet>(is.getloc())) {
262 + std::use_facet<lcl_time_input_facet>(is.getloc()).get(sit, str_end, is, pt);
264 else {
265 - time_input_facet* f = new time_input_facet();
266 + lcl_time_input_facet* f = new lcl_time_input_facet();
267 std::locale l = std::locale(is.getloc(), f);
268 is.imbue(l);
269 f->get(sit, str_end, is, pt);
270 @@ -143,13 +143,13 @@
271 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
272 if (strm_sentry) {
273 try {
274 - typedef typename date_time::time_input_facet<ptime, CharT> time_input_facet;
275 + typedef typename date_time::time_input_facet<ptime, CharT> lcl_time_input_facet;
276 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
277 - if(std::has_facet<time_input_facet>(is.getloc())) {
278 - std::use_facet<time_input_facet>(is.getloc()).get(sit, str_end, is, tp);
279 + if(std::has_facet<lcl_time_input_facet>(is.getloc())) {
280 + std::use_facet<lcl_time_input_facet>(is.getloc()).get(sit, str_end, is, tp);
282 else {
283 - time_input_facet* f = new time_input_facet();
284 + lcl_time_input_facet* f = new lcl_time_input_facet();
285 std::locale l = std::locale(is.getloc(), f);
286 is.imbue(l);
287 f->get(sit, str_end, is, tp);
288 @@ -208,13 +208,13 @@
289 typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
290 if (strm_sentry) {
291 try {
292 - typedef typename date_time::time_input_facet<ptime, CharT> time_input_facet;
293 + typedef typename date_time::time_input_facet<ptime, CharT> lcl_time_input_facet;
294 std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
295 - if(std::has_facet<time_input_facet>(is.getloc())) {
296 - std::use_facet<time_input_facet>(is.getloc()).get(sit, str_end, is, td);
297 + if(std::has_facet<lcl_time_input_facet>(is.getloc())) {
298 + std::use_facet<lcl_time_input_facet>(is.getloc()).get(sit, str_end, is, td);
300 else {
301 - time_input_facet* f = new time_input_facet();
302 + lcl_time_input_facet* f = new lcl_time_input_facet();
303 std::locale l = std::locale(is.getloc(), f);
304 is.imbue(l);
305 f->get(sit, str_end, is, td);
306 --- misc/boost_1_44_0/boost/spirit/home/classic/debug/impl/parser_names.ipp 2012-04-10 21:23:48.599238472 +0100
307 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/debug/impl/parser_names.ipp 2012-04-10 21:24:02.752394878 +0100
308 @@ -395,13 +395,13 @@
311 bool register_node(void const *r, char const *name_to_register,
312 - bool trace_node)
313 + bool trace_node_)
315 if (infos.find(r) != infos.end())
316 return false;
318 return infos.insert(rule_infos::value_type(r,
319 - rule_info(std::string(name_to_register), trace_node))
320 + rule_info(std::string(name_to_register), trace_node_))
321 ).second;