From: Alin Serdean Date: Tue, 26 Nov 2013 07:38:48 +0000 (-0800) Subject: Avoid printf type modifiers not supported by MSVC C runtime library. X-Git-Tag: sliver-openvswitch-2.0.90-1~3^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=34582733d9aad82bba60f4bf986b62d58412502a;hp=34582733d9aad82bba60f4bf986b62d58412502a;p=sliver-openvswitch.git Avoid printf type modifiers not supported by MSVC C runtime library. 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 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 Co-authored-by: Ben Pfaff Signed-off-by: Ben Pfaff ---