https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108939

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Removing -std=c++11 still warns for me with GCC 10 and GCC 11.

The biggest difference I saw between GCC 11 and GCC 12 was:
GCC 12+ produces:
  strncpy (&dest, &src, 32);

While GCC 10/11 produces:
  strncpy (&dest, &src, 31);

Reply via email to