diff options
| author | Jason Merrill <jason@redhat.com> | 2025-11-17 21:26:40 +0530 |
|---|---|---|
| committer | Jason Merrill <jason@redhat.com> | 2025-11-17 21:26:40 +0530 |
| commit | 359d48af204f1ff4cf1a7969bbeecbdc0b9ba066 (patch) | |
| tree | 075e66d755ccd80876bed08bd4516669c30c9ee4 /libjava/classpath/java | |
| parent | c8380ed022c2669ea1b1352aded27bdf32da7a0e (diff) | |
libstdc++: testsuite/util adjustments for import std
In my import std testing patch, to work around c++/99000 (include after
import) I move #includes of the util/ headers above the import. And so I
made some adjustments to those headers to support this: adding some missing
dependencies, making sure that in headers that include both importable and
non-importable headers, at least one importable header comes first to work
with my patch to translate e.g. #include <vector> to import <bits/stdc++.h>.
The testsuite_iterators.h avoids a failure in
20_util/specialized_algorithms/uninitialized_copy/constrained.cc from
including <memory> after this header, with a mysterious "no match for
operator<" between long and difference_type.
libstdc++-v3/ChangeLog:
* testsuite/util/testsuite_allocator.h: Move importable headers up.
* testsuite/util/testsuite_common_types.h: Likewise.
* testsuite/util/testsuite_containers.h: Likewise.
* testsuite/util/testsuite_error.h: Move includes inside
include guard.
* testsuite/util/testsuite_greedy_ops.h: #include <cstddef>.
* testsuite/util/testsuite_iterators.h: #include <utility>.
* testsuite/util/testsuite_new_operators.h: #include <cstdlib>.
* testsuite/util/testsuite_random.h: #include <random>.
Diffstat (limited to 'libjava/classpath/java')
0 files changed, 0 insertions, 0 deletions
