[Bro-Commits] [git/bro] topic/seth/fix-compiler-warnings: PRI macros are currently not working for some reason. (275c6e6)

Annoyingly, C++ compilers don't enable these macros per default as they
are in the C99 standard. Grrr. You have to define

#define _ISOC99_SOURCE
#define __STDC_LIMIT_MACROS
#define __STDC_CONSTANT_MACROS
#define __STDC_FORMAT_MACROS

before you include any of the header files. util.h or so might be a good
place to add these defines. (For the printf macros to work, you probably
only need the first and the last define, but I the others are probably
handy too).

See also:
http://publib.boulder.ibm.com/infocenter/zos/v1r9/topic/com.ibm.zos.r9.cbcpx01/c99ftmacros.htm

cu
Gregor