[v3] Avoid -Wall warnings

2012-05-21 Thread Paolo Carlini
Hi, tested x86_64-linux, committed. Paolo. // 2012-05-21 Paolo Carlini * testsuite/22_locale/num_put/put/char/9780-2.cc: Avoid -Wall warnings. * testsuite/29_atomics/atomic/cons/49445.cc: Likewise. * testsuite/29_atomics/atomic/operators/point

Re: [v3] Avoid -Wall warnings in the testsuite

2011-06-22 Thread Jonathan Wakely
On 22 June 2011 23:38, Jonathan Wakely wrote: > On 22 June 2011 22:48, Paolo Carlini wrote: >> ... all, besides that corresponding to c++/49508. >> >> Committed to mainline. >> >> Thanks, >> Paolo. >> >> // >> > > Oops, this bit is my bad, I'll fix it: > > Index: testsuite/20_util

Re: [v3] Avoid -Wall warnings in the testsuite

2011-06-22 Thread Jonathan Wakely
On 22 June 2011 22:48, Paolo Carlini wrote: > ... all, besides that corresponding to c++/49508. > > Committed to mainline. > > Thanks, > Paolo. > > // > Oops, this bit is my bad, I'll fix it: Index: testsuite/20_util/bind/socket.cc

Re: [v3] Avoid -Wall warnings in the testsuite

2011-06-22 Thread Paolo Carlini
On 06/23/2011 12:04 AM, Andrew Pinski wrote: No I think that warning is correct "for (i;" the statement i; has no effect. Thanks, now I see, let's remove that i. Paolo.

Re: [v3] Avoid -Wall warnings in the testsuite

2011-06-22 Thread Andrew Pinski
On Wed, Jun 22, 2011 at 3:02 PM, Paolo Carlini wrote: > ... actually, there are also bogus "statement has no effect" warnings for > line 1321 of ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp which also seem > bogus: > >    PB_DS_CLASS_T_DEC >    typename PB_DS_CLASS_C_DEC::size_type >    PB_DS_CLAS

Re: [v3] Avoid -Wall warnings in the testsuite

2011-06-22 Thread Paolo Carlini
... actually, there are also bogus "statement has no effect" warnings for line 1321 of ext/pb_ds/detail/pat_trie_/pat_trie_base.hpp which also seem bogus: PB_DS_CLASS_T_DEC typename PB_DS_CLASS_C_DEC::size_type PB_DS_CLASS_C_DEC:: get_begin_pos() const { size_type i =

[v3] Avoid -Wall warnings in the testsuite

2011-06-22 Thread Paolo Carlini
... all, besides that corresponding to c++/49508. Committed to mainline. Thanks, Paolo. // 2011-06-22 Paolo Carlini * testsuite/20_util/reference_wrapper/invoke.cc: Avoid -Wall warnings. * testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise. *