Re: [RFA record/replay] cast to avoid compiler warning

Michael Snyder
2008-10-05T18:28:13Z

Daniel Jacobowitz wrote:
> On Sun, Oct 05, 2008 at 08:44:38AM -0700, Michael Snyder wrote:
>> Yes, but we don't know that gdb will always be built using gnulib.
>
> Gnulib is a library of portability replacement routines that GDB can
> import. We already use it for stdint.h and memchr / memmem. We could
> easily add it for further routines.

OK. So, would you favor using the "%zd" modifier instead of a cast?

I mainly didn't do that because there were no existing instances
of it in gdb now, but I was just being conservative...