From d0453cf5c68b6aa0e8c57a7a99d4285f047387b7 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 24 Feb 2021 16:24:34 +0000 Subject: libstdc++: Fix failing tests due to 'u' identifier in kernel header libstdc++-v3/ChangeLog: * testsuite/17_intro/names.cc: Undefine 'u' on powerpc*-linux*. --- libstdc++-v3/testsuite/17_intro/names.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libstdc++-v3') diff --git a/libstdc++-v3/testsuite/17_intro/names.cc b/libstdc++-v3/testsuite/17_intro/names.cc index 77d8920..4534d79 100644 --- a/libstdc++-v3/testsuite/17_intro/names.cc +++ b/libstdc++-v3/testsuite/17_intro/names.cc @@ -202,6 +202,11 @@ #undef r #endif +#if defined (__linux__) && defined (__powerpc__) +// defines __vector128::u +#undef u +#endif + #if defined (__linux__) && defined (__sparc__) #undef y #endif -- cgit v1.1