[PATCH] Fix uses of non-reserved names for template parameters
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Mon May 20 12:11:00 GMT 2019
Hi Jonathan,
> * include/bits/random.h (seed_seq::param): Fix non-reserved name.
> * include/experimental/type_traits (is_detected_exact)
> (is_detected_exact_v): Likewise.
> * include/pstl/execution_defs.h (is_execution_policy)
> (is_execution_policy_v, __enable_if_execution_policy): Likewise.
> * include/pstl/execution_impl.h (__policy_traits): Likewise.
> * testsuite/17_intro/names.cc: Check for more non-reserved names.
> * testsuite/experimental/names.cc: New test.
>
> Tested powerpc64le-linux, committed to trunk.
the last testcase FAILs on Solaris:
+FAIL: experimental/names.cc (test for excess errors)
Excess errors:
/usr/include/netdb.h:354: error: expected ')' before ';' token
<netdb.h> has
void freeipsecalgent(struct ipsecalgent *ptr);
I'll raise this with Oracle, not sure what to do with the testcase.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc-patches
mailing list