[Bug c/52952] Wformat location info is bad (wrong column number)
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 22 10:20:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952
--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-05-22 09:54:29 UTC ---
(In reply to comment #3)
> What does clang report for this:
>
> #include <stdio.h>
> void f() {
> printf(
> "%."
> "*d");
> }
>
> ?
/tmp/webcompile/_2090_0.c:5:2: warning: '.*' specified field precision is
missing a matching 'int' argument
"*d");
~^~
1 warning generated.
They have an awesome online demo: http://llvm.org/demo/
More information about the Gcc-bugs
mailing list