aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-04-12 12:40:41 -0400
committerPatrick Palka <ppalka@redhat.com>2023-04-12 12:40:41 -0400
commit13669111e7219ed1f71b2079c7b5794c11f6e3ce (patch)
tree3ef7871e012d30729ecaf3010dd2852d62330804 /gcc
parente5656d27b8bbcedd79f23ca1510ff0a4f03fc819 (diff)
downloadgcc-13669111e7219ed1f71b2079c7b5794c11f6e3ce.zip
gcc-13669111e7219ed1f71b2079c7b5794c11f6e3ce.tar.gz
gcc-13669111e7219ed1f71b2079c7b5794c11f6e3ce.tar.bz2
libstdc++: Ensure headers used by fast_float are included
This makes floating_from_chars.cc explicitly include all headers that are used by the original fast_float amalgamation according to r12-6647-gf5c8b82512f9d3, except: 1. <cctype> since fast_float doesn't seem to use anything from it 2. <cinttypes> since fast_float doesn't seem to use anything directly from it (this header also pulls in <cstdint>) 3. <system_error> since std::errc is naturally already available from <charconv> This avoids potential fast_float build failures on platforms for which some required headers (in particular <cstdint>) end up not getting transitively included from elsewhere. libstdc++-v3/ChangeLog: * src/c++17/floating_from_chars.cc: Include <algorithm>, <iterator>, <limits> and <cstdint>.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions