https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94429
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
Keywords| |diagnostic
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>But this option will still warn about them, to help people avoid writing code
>that is undefined in C and earlier revisions of C++.
It is documented that way.
You can disable the warning if you want.
Some folks write C and C++ code that is portable between the two.
Also this warning is easy to avoid.