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 01/22] Change selttest.c to use use std::vector


>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:
>> +  printf_filtered (_("Ran %lu unit tests, %d failed\n"),
>> +		   tests.size (), failed);

Simon> This doesn't build on 32 bits:

Thanks for trying that.
I will send it through buildbot before the next round.

Simon> I think the right format size specifier would be 'z'.

I will probably cast to long instead.
I don't see other uses of %zd in gdb.

Tom


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