[Lldb-commits] [lldb] r202738 - "size_t" isn't always 64 bit, it is 32 bit on 32 bit systems. All printf style statements that were assuming size_t were 64 bit were changed, and they were also changed to display them as unsigned values as "size_t" isn't signed.

jingham at apple.com jingham at apple.com
Mon Mar 3 12:29:34 PST 2014


Because it isn't supported on Windows.

Jim

On Mar 3, 2014, at 12:27 PM, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:

> On Mon, Mar 03, 2014 at 07:15:21PM -0000, Greg Clayton wrote:
>> If you print anything with 'size_t', please cast it to "uint64_t" in the printf and use PRIu64 or PRIx64.
> 
> Why not use the correct %zu / %zd specifier?
> 
> Joerg
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits




More information about the lldb-commits mailing list