diff options
author | Joseph Myers <joseph@codesourcery.com> | 2021-08-02 16:33:44 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2021-08-02 16:33:44 +0000 |
commit | 2ee9b24f47db8d0a8d0ccadb999335a1d4cfc364 (patch) | |
tree | 855849e85ed62294416d61ef54a35739efccc1bd /sysdeps/csky | |
parent | 60698263122b7c54ded3f70a466176e17a529480 (diff) | |
download | glibc-2ee9b24f47db8d0a8d0ccadb999335a1d4cfc364.zip glibc-2ee9b24f47db8d0a8d0ccadb999335a1d4cfc364.tar.gz glibc-2ee9b24f47db8d0a8d0ccadb999335a1d4cfc364.tar.bz2 |
Fix build of nptl/tst-thread_local1.cc with GCC 12
The test nptl/tst-thread_local1.cc fails to build with GCC mainline
because of changes to what libstdc++ headers implicitly include what
other headers:
tst-thread_local1.cc: In function 'int do_test()':
tst-thread_local1.cc:177:5: error: variable 'std::array<std::pair<const char*, std::function<void(void* (*)(void*))> >, 2> do_thread_X' has initializer but incomplete type
177 | do_thread_X
| ^~~~~~~~~~~
Fix this by adding an explicit include of <array>.
Tested with build-many-glibcs.py for aarch64-linux-gnu.
Diffstat (limited to 'sysdeps/csky')
0 files changed, 0 insertions, 0 deletions