Thread (6 messages) flat view 6 messages, 4 authors, 2004-10-09

Re: [PATCH] pktgen: sprintf arg type warning

From: Sam Leffler <hidden>
Date: 2004-10-09 17:49:55

Andi Kleen wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help