https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78014
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- T(In reply to David Malcolm from comment #4) > I wonder if it would be useful to have some kind of "-Wportability" or I've wondered about that myself. I agree that it would be useful beyond -Wformat. For -Wformat, I also agree that warning about %lu with size_t would be helpful. At the same time I suspect it would cause quite a few warnings for otherwise perfectly safe code (similar to warning for %lu with an int argument in ILP32 or %llu with a long argument in LP64).