https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79022
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Adding a warning about this case seems genuinely useful, i.e. when the names match but in a different order. I'm less convinced that warning about mismatches like void f(int number) and void f(int num) is useful, as it would just be noise in many cases.