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

Chris Lattner clattner at apple.com
Sun Aug 26 10:39:39 PDT 2007


On Aug 26, 2007, at 2:43 AM, Keith Bauer wrote:

>> 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.

Thanks! Applied.

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

I took care of this.

-Chris



More information about the cfe-dev mailing list