[cfe-dev] printf typechecking -- invalid conversion '%p

Keith Bauer onesadcookie at gmail.com
Sun Aug 26 02:43:18 PDT 2007


> test4.c:4:13: warning: invalid conversion '%p
> '
>     printf("%p\n", p);
>     ~~~~~~  ^

The attached patch appears to be all that's needed for this, currently.

Fixes the generation of the diagnostic, but not the random extra
newline in it ;)

-Keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: %p.diff
Type: application/octet-stream
Size: 369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20070826/b166d9f7/attachment.obj>


More information about the cfe-dev mailing list