https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111516
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- That's definitely not what it's suggesting. It's telling you that the ABI for c++17 code in gcc 10 does not match the ABI for c++17 code in gcc 9. It's a statement of fact, it's not suggesting that you do anything. I agree that it isn't necessarily useful, because you might not care about the ABI of c++17 code in gcc 9. Have you tried -Wno-psabi ?