I've run into a problem with systems that don't have proper support
for C99 standard int types (int32_t, uint16_t, ... etc).
Specifically this FreeBSD 4.5-STABLE machine defines the standard
types in inttypes.h as it should but I cannot find any conversion
specifiers for printf() to print these values safely.
There are no PRI* macros, and their printf does not support the %j
conversion. The FreeBSD C99 project page is not very encouraging :|
Is there anyway to safely print out standard int values, and get
the code to compile everywhere without warnings (or the famous death
rattle), on FreeBSD or systems like it?
I'm considering using a third-party stdio printf replacement like
Thamer Al-Harbash http://www.whitefang.com/dhcp-agent/
"Yum! Yum! It's DHCPelicious!" -- wandering UDP elf
comments on dhcp-agent.