I have some C++ code that prints a size_t:
size_t
size_t a; printf(\"%lu\", a);
I\'d like this to compile without warnings on both 32
The printf format specifier %zu will work fine on C++ systems; there is no need to make it more complicated.
printf
%zu