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: [RFA, 3 of 3] save/restore process record, part 3 (save/restore)


Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andreas Schwab <schwab@redhat.com>
>> Cc: muller@ics.u-strasbg.fr, ppluzhnikov@google.com, msnyder@vmware.com,
>>         teawater@gmail.com, gdb-patches@sourceware.org
>> Date: Fri, 23 Oct 2009 17:34:53 +0200
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > That's true, but printf will still complain, unless we cast
>> > explicitly.
>> 
>> If you want to save a cast you need to be able to use %zu.
>
> Right, but that's only available with C9X, isn't it?

If you are not able to use %zu then you need a cast, yes.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


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