[PATCH 2/2] Adjust testcases for C++17 compatibility

Jonathan Wakely jwakely@redhat.com
Wed Aug 17 13:52:00 GMT 2016


Adding TR1 and LFTS components to namespace std makes some tests fail
due to ambiguous names. This resolves those problems so the tests pass
using C++17.

    Adjust testcases for C++17 compatibility
    
    	* testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: Disable
    	test for C++17.
    	* testsuite/experimental/chrono/value.cc: Avoid ambiguities in C++17.
    	* testsuite/experimental/ratio/value.cc: Likewise.
    	* testsuite/ext/pb_ds/regression/hash_map_rand.cc: Disable test for
    	C++17.
    	* testsuite/ext/pb_ds/regression/hash_set_rand.cc: Likewise.
    	* testsuite/ext/pb_ds/regression/list_update_map_rand.cc: Likewise.
    	* testsuite/ext/pb_ds/regression/list_update_set_rand.cc: Likewise.
    	* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Likewise.
    	* testsuite/ext/pb_ds/regression/tree_map_rand.cc: Likewise.
    	* testsuite/ext/pb_ds/regression/tree_set_rand.cc: Likewise.
    	* testsuite/ext/pb_ds/regression/trie_map_rand.cc: Likewise.
    	* testsuite/ext/pb_ds/regression/trie_set_rand.cc: Likewise.
    	* testsuite/tr1/5_numerical_facilities/special_functions/
    	10_cyl_bessel_k/airy.cc: Adjust namespace of __detail::__airy for
    	C++17 compatibility.

Tested powerpc64le-linux, committed to trunk.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 9443 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160817/aaade91b/attachment.bin>


More information about the Libstdc++ mailing list