[PATCH] Trivial printf format warning fixes

Jason R Thorpe thorpej@wasabisystems.com
Tue Apr 23 00:01:00 GMT 2002


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>



More information about the Gdb-patches mailing list