abc61614f8
When using __attribute__((format(...)) on functions, GCC on Windows assumes MS-specific format string by default, even if the underlying stdio implementation is ANSI-compliant (either MS Unicersal CRT or MinGW implementation). Wrap attribute into a macro that forces GNU-specific format string when using GCC. Use this new attribute for logging and panic messages in EAL and for output strings in cmdline library. Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Tested-by: William Tu <u9012063@gmail.com> Tested-by: Pallavi Kadam <pallavi.kadam@intel.com> |
||
---|---|---|
.. | ||
cmdline_cirbuf.c | ||
cmdline_cirbuf.h | ||
cmdline_parse_etheraddr.c | ||
cmdline_parse_etheraddr.h | ||
cmdline_parse_ipaddr.c | ||
cmdline_parse_ipaddr.h | ||
cmdline_parse_num.c | ||
cmdline_parse_num.h | ||
cmdline_parse_portlist.c | ||
cmdline_parse_portlist.h | ||
cmdline_parse_string.c | ||
cmdline_parse_string.h | ||
cmdline_parse.c | ||
cmdline_parse.h | ||
cmdline_rdline.c | ||
cmdline_rdline.h | ||
cmdline_socket.c | ||
cmdline_socket.h | ||
cmdline_vt100.c | ||
cmdline_vt100.h | ||
cmdline.c | ||
cmdline.h | ||
Makefile | ||
meson.build | ||
rte_cmdline_version.map |