Thanks! OTOH, I think we no longer need it. Since VS2015 (our minimal toolchain version on Win) supports %z modifier. Only VS2013 and down only defines %I.
-hb-

On 7/25/17 7:03 PM, Botond Ballo wrote:
We have a mozilla/SizePrintfMacros.h header which defines "PRIuSIZE"
for this purpose.

Cheers,
Botond

On Tue, Jul 25, 2017 at 12:43 PM, Honza Bambas <hbam...@mozilla.com> wrote:
In light of using PRxx formatting macros from inttypes.h, what is the right
approach to printf size_t types (like our nsTArray::Length()) ?

Not sure if to use "%zu" directly.

Thanks.
-hb-

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to