This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Trivial printf format warning fixes
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Eli Zaretskii <eliz at is dot elta dot co dot il>,gdb-patches at sources dot redhat dot com
- Date: Tue, 23 Apr 2002 00:01:42 -0700
- Subject: Re: [PATCH] Trivial printf format warning fixes
- Organization: Wasabi Systems, Inc.
- References: <Pine.SUN.3.91.1020423100505.22959J@is> <u8g01ney1h.fsf@gromit.moeb>
- Reply-to: thorpej at wasabisystems dot com
On Tue, Apr 23, 2002 at 08:20:26AM +0200, Andreas Jaeger wrote:
> ISO C99 introduced 't' for ptrdiff_t, so we could use '%td' here if we
> have an ISO C99 compiler.
Yes, but I don't think it's safe to assume that all platforms on which
GDB is uses are C99 compliant.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>