https://llvm.org/bugs/show_bug.cgi?id=27159
David Blaikie <dblai...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dblai...@gmail.com Resolution|--- |INVALID --- Comment #1 from David Blaikie <dblai...@gmail.com> --- Warning args are ordered, -Wno-* args must appear after the positive -W that enabled the warning (in your example, I believe -Wall is enabling the warning so -Wno-format-extra-args must appear after -Wall) $ clang++ arg.cpp -Wall -fsyntax-only arg.cpp:4:15: warning: data argument not used by format string [-Wformat-extra-args] printf("x", "y"); ~~~ ^ 1 warning generated. $ clang++ arg.cpp -Wall -fsyntax-only -Wno-format-extra-args $ -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs