The nested typedefs in std::reference_wrapper are no longer present in C++2a mode, so skip the tests that check for them. The addition of the [[nodiscard]] attribute to a few functions causes some failures in tests that intentionally ignore the return value. Casting the result to void suppresses the new warnings. * testsuite/20_util/reference_wrapper/result_type.cc: Disable for C++2a. * testsuite/20_util/reference_wrapper/typedefs-2.cc: Likewise. * testsuite/20_util/reference_wrapper/typedefs-3.cc: Likewise. * testsuite/20_util/reference_wrapper/typedefs.cc: Likewise. * testsuite/30_threads/async/54297.cc: Suppress nodiscard warning. * testsuite/ext/array_allocator/26875.cc: Likewise. * testsuite/ext/pool_allocator/allocate_chunk.cc: Likewise. * testsuite/util/replacement_memory_operators.h: Likewise. * testsuite/util/testsuite_allocator.h: Likewise. From-SVN: r268355
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
array_allocator | Loading commit data... | |
bitmap_allocator | Loading commit data... | |
codecvt | Loading commit data... | |
concurrence_lock_error | Loading commit data... | |
concurrence_unlock_error | Loading commit data... | |
debug_allocator | Loading commit data... | |
enc_filebuf | Loading commit data... | |
ext_pointer | Loading commit data... | |
forced_error | Loading commit data... | |
iota | Loading commit data... | |
is_heap | Loading commit data... | |
is_sorted | Loading commit data... | |
malloc_allocator | Loading commit data... | |
mt_allocator | Loading commit data... | |
new_allocator | Loading commit data... | |
numeric_traits | Loading commit data... | |
pb_ds | Loading commit data... | |
pool_allocator | Loading commit data... | |
profile | Loading commit data... | |
random | Loading commit data... | |
rope | Loading commit data... | |
shared_ptr | Loading commit data... | |
slist | Loading commit data... | |
special_functions | Loading commit data... | |
stdio_filebuf | Loading commit data... | |
stdio_sync_filebuf | Loading commit data... | |
throw_allocator | Loading commit data... | |
throw_value | Loading commit data... | |
type_traits | Loading commit data... | |
vstring | Loading commit data... | |
concept_checks.cc | Loading commit data... | |
headers.cc | Loading commit data... | |
median.cc | Loading commit data... | |
pod_char_traits.cc | Loading commit data... |