3 ms·
This article focuses on clang and gcc, but note that MSVC's printf functions do not support %zu (or %zd) for size_t. MSVC uses %Iu. There is no standard "PRIuSI
by cpeterso 11y ago
This article focuses on clang and gcc, but note that MSVC's printf functions do not support %zu (or %zd) for size_t. MSVC uses %Iu. There is no standard "PRIuSIZE" macro for size_t, but Mozilla defines a polyfill for Firefox:
https://hg.mozilla.org/mozilla-central/file/tip/mfbt/SizePrintfMacros.h https://hg.mozilla.org/mozilla-central/file/tip/mfbt/SizePri...