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 |
---|---|---|
.. | ||
common_type | Loading commit data... | |
debug | Loading commit data... | |
exception | Loading commit data... | |
hash_fn | Loading commit data... | |
io | Loading commit data... | |
native_type | Loading commit data... | |
performance | Loading commit data... | |
regression | Loading commit data... | |
statistic | Loading commit data... | |
thread | Loading commit data... | |
replacement_memory_operators.h | Loading commit data... | |
specfun_testcase.h | Loading commit data... | |
testsuite_abi.cc | Loading commit data... | |
testsuite_abi.h | Loading commit data... | |
testsuite_abi_check.cc | Loading commit data... | |
testsuite_allocator.cc | Loading commit data... | |
testsuite_allocator.h | Loading commit data... | |
testsuite_api.h | Loading commit data... | |
testsuite_character.cc | Loading commit data... | |
testsuite_character.h | Loading commit data... | |
testsuite_common_types.h | Loading commit data... | |
testsuite_container_traits.h | Loading commit data... | |
testsuite_containergen.h | Loading commit data... | |
testsuite_containers.h | Loading commit data... | |
testsuite_counter_type.h | Loading commit data... | |
testsuite_error.h | Loading commit data... | |
testsuite_fs.h | Loading commit data... | |
testsuite_greedy_ops.h | Loading commit data... | |
testsuite_hooks.cc | Loading commit data... | |
testsuite_hooks.h | Loading commit data... | |
testsuite_io.h | Loading commit data... | |
testsuite_iterators.h | Loading commit data... | |
testsuite_new_operators.h | Loading commit data... | |
testsuite_performance.h | Loading commit data... | |
testsuite_random.h | Loading commit data... | |
testsuite_regex.h | Loading commit data... | |
testsuite_rng.h | Loading commit data... | |
testsuite_rvalref.h | Loading commit data... | |
testsuite_shared.cc | Loading commit data... | |
testsuite_tr1.h | Loading commit data... |