This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Trivial printf format warning fixes



On Tue, 23 Apr 2002, Jason R Thorpe wrote:

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

I agree.  I think "%ld" is good enough.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]