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

2022-06-24 Thread Sebastian Huber
On 21.06.22 07:31, Alexandre Oliva via Gcc-patches 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

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

2022-06-21 Thread Jonathan Wakely via Gcc-patches
On Tue, 21 Jun 2022 at 06:32, Alexandre Oliva via Libstdc++ 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

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

2022-06-20 Thread Alexandre Oliva via Gcc-patches
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