Avoid printf type modifiers not supported by MSVC C runtime library.
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Tue, 26 Nov 2013 07:38:48 +0000 (23:38 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 26 Nov 2013 07:38:59 +0000 (23:38 -0800)
The MSVC C library printf() implementation does not support the 'z', 't',
'j', or 'hh' format specifiers.  This commit changes the Open vSwitch code
to avoid those format specifiers, switching to standard macros from
<inttypes.h> where available and inventing new macros resembling them
where necessary.  It also updates CodingStyle to specify the macros' use
and adds a Makefile rule to report violations.

Signed-off-by: Alin Serdean <aserdean@cloudbasesolutions.com>
Co-authored-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>

No differences found