diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-05-19 12:50:28 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-05-19 23:39:21 +0100 |
commit | 6f038efd93593da6e661b829d1bd3877e75550f1 (patch) | |
tree | 647d25b401c1b0ada6f122d6e9a440b82c8e786b /gcc | |
parent | f3e22baec0290c23654e99bf184153765944f4aa (diff) | |
download | gcc-6f038efd93593da6e661b829d1bd3877e75550f1.zip gcc-6f038efd93593da6e661b829d1bd3877e75550f1.tar.gz gcc-6f038efd93593da6e661b829d1bd3877e75550f1.tar.bz2 |
libstdc++: Avoid including <cstdint> for std::char_traits
We should prefer the __UINT_LEAST16_TYPE__ and __UINT_LEAST32_TYPE__
macros, if available, so that we don't need all of <cstdint> in every
header that uses std::char_traits.
libstdc++-v3/ChangeLog:
* include/bits/char_traits.h: Only include <cstdint> when
necessary.
* include/std/stacktrace: Use __UINTPTR_TYPE__ instead of
uintptr_t.
* src/c++11/cow-stdexcept.cc: Include <stdint.h>.
* src/c++17/floating_to_chars.cc: Likewise.
* testsuite/20_util/assume_aligned/1.cc: Include <cstdint>.
* testsuite/20_util/assume_aligned/3.cc: Likewise.
* testsuite/20_util/shared_ptr/creation/array.cc: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions