On Sat, Mar 15, 2014 at 11:59 PM, LRN <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 16.03.2014 2:26, Jim Michaels wrote:
>> my understanding is gcc uses size_t for both. I think there used ot
>> be a %I or something like that for size_type, but not sure what it
>> is now, since I have forgotten, and %I by itself seems to require a
>> number of bits like %I64u. my memory is fuzzy. thanks.
> 'z' is the "size of size_t". I.e. %zu - size_t, %zd - ssize_t
>
> Note that this requires a compatible printf implementation (i.e. not
> msvcrt).
>

to enable this, pass -D__USE_MINGW_ANSI_STDIO=1 to gcc/g++

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to