I can only speak for a 3 year old linux system but I read evenly the wiki
page https://svn.open-mpi.org/trac/ompi/wiki/PrintfCodes and I wonder if
someone tried this code. On my system the PRId32 is defined as "d" for
example. so to use this you need to write something like this:
printf("foo: %" PRIu32 ", bar: %ld\n", foo, bar);
note this extra '%'.
on the other hand printf have an extra length specifier for size_t, its
'z', so a minimal size_t printf conversion is "%zu".
BTW: are there any plans to provide mpi datatypes for these stdint.h types