diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-11-23 12:28:22 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-11-23 12:30:57 +0000 |
commit | 5459fa132a99e6037e5ccf1b49d617677a584ff8 (patch) | |
tree | 62028d487c3921a90117e60b2f7b58991c43841e /libcpp/system.h | |
parent | d3f22853d18195b6ef4c9e26298befa55402eb4a (diff) | |
download | gcc-5459fa132a99e6037e5ccf1b49d617677a584ff8.zip gcc-5459fa132a99e6037e5ccf1b49d617677a584ff8.tar.gz gcc-5459fa132a99e6037e5ccf1b49d617677a584ff8.tar.bz2 |
libstdc++: Fix circular dependency for bitmap_allocator [PR103381]
<ext/bitmap_allocator.h> includes <function>, and since C++17 that
includes <unordered_map>. If std::allocator is defined in terms of
__gnu_cxx::bitmap_allocator then you get a circular reference and
bootstrap fails when compiling src/c++17/*.cc.
libstdc++-v3/ChangeLog:
PR libstdc++/103381
* include/ext/bitmap_allocator.h: Include <bits/stl_function.h>
instead of <functional>.
Diffstat (limited to 'libcpp/system.h')
0 files changed, 0 insertions, 0 deletions