[PATCH] libstdc++: testsuite: work around bitset namespace pollution

Jonathan Wakely jwakely@redhat.com
Tue Jun 21 07:37:02 GMT 2022


On Tue, 21 Jun 2022 at 06:32, Alexandre Oliva via Libstdc++
<libstdc++@gcc.gnu.org> wrote:
>
>
> rtems6 declares a global struct bitset in a header file included
> indirectly by sys/types.h, that ambiguates the unqualified references
> to bitset after "using namespace std" in the testsuite.
>
> Work around the namespace pollution with using declarations of
> std::bitset.
>
> Regstrapped on x86_64-linux-gnu, also tested with a cross to
> aarch64-rtems6.0.  Ok to install?

OK, thanks.



More information about the Libstdc++ mailing list