https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86018
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-12-17
Ever confirmed|0 |1
Keywords| |needs-bisection
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Seems fixed in GCC 9+.
Note the warning happens even without the include of string.
