https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109203
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note for this to work with LLVM's libc++, you need the following include file added: #include <string>
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 19 Mar 2023 14:39:36 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109203
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note for this to work with LLVM's libc++, you need the following include file added: #include <string>