Fix -Wunused warnings in libstdc++ headers
authorJonathan Wakely <jwakely@redhat.com>
Mon, 4 Dec 2017 23:07:39 +0000 (23:07 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 4 Dec 2017 23:07:39 +0000 (23:07 +0000)
commit9ed83a33c0a826cb190f60552d930c38a80ad46c
tree38749e6f057aae922c87ae9953be1664a004191e
parent899ac3b80040d7879082b5df11675cea88a43756
Fix -Wunused warnings in libstdc++ headers

* config/io/basic_file_stdio.h (__basic_file): Remove name of unused
parameter.
* include/bits/boost_concept_check.h: Add pragmas to disable
-Wunused-local-typedef warnings.
* include/bits/codecvt.h (codecvt_byname<char16_t, char, mbstate_t>)
(codecvt_byname<char32_t, char, mbstate_t>): Remove name of unused
parameter.
* include/bits/locale_facets_nonio.tcc (time_get::do_get_weekday)
(time_get::do_get_monthname, time_get::do_get_year): Remove unused
variables.
* include/std/bitset (_Base_bitset<0>::_M_getword): Remove name of
unused parameter.
* include/std/streambuf (_IsUnused): Define.
(basic_streambuf::imbue, basic_streambuf::pbackfail)
(basic_streambuf::overflow): Add macro to unused parameters.
* testsuite/24_iterators/operations/prev_neg.cc: Adjust dg-error.

From-SVN: r255391
libstdc++-v3/ChangeLog
libstdc++-v3/config/io/basic_file_stdio.h
libstdc++-v3/include/bits/boost_concept_check.h
libstdc++-v3/include/bits/codecvt.h
libstdc++-v3/include/bits/locale_facets_nonio.tcc
libstdc++-v3/include/std/bitset
libstdc++-v3/include/std/streambuf
libstdc++-v3/testsuite/24_iterators/operations/prev_neg.cc