2
0
mirror of git://sourceware.org/git/glibc.git synced 2025-03-19 13:40:59 +08:00
Joseph Myers 2ee9b24f47 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.
2021-08-02 16:33:44 +00:00
..
2021-07-09 20:09:14 +02:00
2021-07-22 18:37:59 +05:30
2021-07-09 20:09:14 +02:00
2021-05-03 08:14:01 +02:00
2021-05-05 17:19:40 +02:00
2021-05-05 17:19:45 +02:00
2021-05-05 17:19:47 +02:00
2020-06-07 13:35:54 +02:00
2021-07-09 20:09:14 +02:00