This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] PR 17520 -- structure offset wrong when 1/4 GB or greater
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: David Taylor <dtaylor at emc dot com>, gdb-patches at sourceware dot org
- Date: Fri, 19 Dec 2014 07:40:55 -0500
- Subject: Re: [PATCH] PR 17520 -- structure offset wrong when 1/4 GB or greater
- Authentication-results: sourceware.org; auth=none
- References: <1418954030-16797-1-git-send-email-dtaylor at emc dot com> <838ui4t3c3 dot fsf at gnu dot org>
> 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