This is the mail archive of the gdb-patches@sourceware.org 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] PR 17520 -- structure offset wrong when 1/4 GB or greater


> I see you use %lld to print the 64-bit integer quantities, but I think
> you should use inttypes.h's PRId64 instead.  At least MinGW32 use the
> Windows runtime, which doesn't understand %lld, AFAIK.  And using
> inttypes.h's macros is more portable anyway.

That's a really good point.

Since these are LONGEST/ULONGEST, let's use plongest and pulongest
instead.

-- 
Joel


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