diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-06-21 23:11:00 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-06-21 23:11:00 -0300 |
commit | 345d69a7de7102bf152b7705d564145a9a1c5b95 (patch) | |
tree | c9307f36f77e919c6d7f46164774fe171bd21a1c /gcc/tree.cc | |
parent | 7a1790ac6b475e9848e24200de9a1c44be422f5b (diff) | |
download | gcc-345d69a7de7102bf152b7705d564145a9a1c5b95.zip gcc-345d69a7de7102bf152b7705d564145a9a1c5b95.tar.gz gcc-345d69a7de7102bf152b7705d564145a9a1c5b95.tar.bz2 |
libstdc++: testsuite: work around bitset namespace pollution
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.
for libstdc++-v3/ChangeLog
* testsuite/23_containers/bitset/cons/dr1325-2.cc: Work around
global struct bitset.
* testsuite/23_containers/bitset/ext/15361.cc: Likewise.
* testsuite/23_containers/bitset/input/1.cc: Likewise.
* testsuite/23_containers/bitset/to_string/1.cc: Likewise.
* testsuite/23_containers/bitset/to_string/dr396.cc: Likewise.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions