diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-10-29 11:43:55 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-10-29 11:43:55 +0000 |
commit | eb6b71b83c9f099808bc50c6a467a0caf4002e50 (patch) | |
tree | f102c93889faa853f8d8eb7a9b05579509675b77 /gcc | |
parent | 9df44b9403312d7cd9678bfb44cae3bb972d6355 (diff) | |
download | gcc-eb6b71b83c9f099808bc50c6a467a0caf4002e50.zip gcc-eb6b71b83c9f099808bc50c6a467a0caf4002e50.tar.gz gcc-eb6b71b83c9f099808bc50c6a467a0caf4002e50.tar.bz2 |
libstdc++: Fix some warnings in headers
These are usually suppressed without -Wsystem-headers.
libstdc++-v3/ChangeLog:
* include/bits/hashtable_policy.h (_Local_iterator_base): Cast
value to avoid -Wsign-compare warnings.
* include/bits/regex.h (sub_match::_M_str): Avoid narrowing
conversion.
* include/bits/regex_compiler.tcc (_Compiler::_M_quantifier):
Initialize variable to avoid -Wmaybe-uninitialized warning.
* include/bits/shared_ptr_base.h (_Sp_counted_deleter::_Impl):
Reorder mem-initializer-list to avoid -Wreorder warning.
* include/bits/stl_tree.h (_Rb_tree_impl): Explicitly
initialize base class in copy constructor.
* include/debug/safe_iterator.h (_Safe_iterator): Likewise.
* include/ext/debug_allocator.h: Reorder mem-initializer-list
to avoid -Wreorder warning.
* include/ext/throw_allocator.h (throw_allocator_limit)
(throw_allocator_random): Add user-declared assignment operators
to avoid -Wdeprecated-copy warnings.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions