https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88270
--- Comment #4 from Richard W.M. Jones <rjones at redhat dot com> --- FWIW I was testing: gcc (FreeBSD Ports Collection) 7.3.0 $ cat test.c #include <stdio.h> int main (int argc, char *argv[]) { printf ("%m\n"); return 0; } $ gcc -Wformat test.c (no warnings) $ gcc -Wformat -Wpedantic test.c test.c: In function 'main': test.c:6:13: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] printf ("%m\n"); ^