Subject: Re: [PATCH] pktgen: sprintf arg type warning

From: Sam Leffler <[email-masked]>
Date: Sat, 09 Oct 2004 10:49:55 -0700

Andi Kleen wrote:
>>Other systems have addressed this problem by extending printf with 
>>portable %formats.
> 
> 
> Problem is that gcc -Wformat doesn't know the new format codes,
> and in Linux we still have to support old gcc versions.

Yes, gcc has been modified to understand the new %formats.  That's the 
advantage to distributing a full system and not just a kernel :)

> 
> Standard trick is to cast to long.
> 
> -Andi
> 
>