There are some names in Solaris libc headers which cause:
FAIL: 17_intro/names.cc -std=gnu++98 (test for excess errors)
FAIL: 17_intro/names.cc -std=gnu++11 (test for excess errors)
libstdc++-v3/ChangeLog:
* testsuite/17_intro/names.cc [__sun__] (a, i, n): Undefine.
#ifdef __sun__
// <fenv.h> defines these as members of fex_numeric_t
+#undef i
#undef l
#undef f
#undef d
#undef ptr
// <sys/timespec_util.h> uses this as parameter
#undef r
-// <stdlib.h> uses this as member of drand48_data
+// <stdlib.h> uses these as members of drand48_data
+#undef a
#undef x
+// <string.h> defines this as a parameter of timingsafe_memcmp
+#undef n
#endif
#ifdef __VXWORKS__