All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Leffler <sam@errno.com>
To: Andi Kleen <ak@suse.de>
Cc: "David S. Miller" <davem@davemloft.net>,
	"Randy.Dunlap" <rddunlap@osdl.org>,
	netdev@oss.sgi.com
Subject: Re: [PATCH] pktgen: sprintf arg type warning
Date: Sat, 09 Oct 2004 10:49:55 -0700	[thread overview]
Message-ID: <416824C3.9040903@errno.com> (raw)
In-Reply-To: <20041009173644.GC30713@wotan.suse.de>

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

  reply	other threads:[~2004-10-09 17:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-09  3:30 [PATCH] pktgen: sprintf arg type warning Randy.Dunlap
2004-10-09  5:19 ` David S. Miller
2004-10-09 17:30   ` Sam Leffler
2004-10-09 17:36     ` Andi Kleen
2004-10-09 17:49       ` Sam Leffler [this message]
2004-10-09 22:07   ` Randy.Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=416824C3.9040903@errno.com \
    --to=sam@errno.com \
    --cc=ak@suse.de \
    --cc=davem@davemloft.net \
    --cc=netdev@oss.sgi.com \
    --cc=rddunlap@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.