numam-dpdk/lib/librte_cmdline
Dmitry Kozlyuk abc61614f8 eal: introduce portable format attribute
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>
2020-03-18 01:19:16 +01:00
..
cmdline_cirbuf.c cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_cirbuf.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse_etheraddr.c cmdline: use new ethernet address parser 2019-07-08 21:26:52 +02:00
cmdline_parse_etheraddr.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse_ipaddr.c cmdline: remove unnecessary #ifdef 2019-11-12 18:35:17 +01:00
cmdline_parse_ipaddr.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse_num.c build: allow stricter fallthrough warnings 2019-10-24 01:02:30 +02:00
cmdline_parse_num.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse_portlist.c convert snprintf to strlcpy 2018-04-04 17:33:08 +02:00
cmdline_parse_portlist.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse_string.c convert snprintf to strlcpy 2018-04-04 17:33:08 +02:00
cmdline_parse_string.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse.c replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
cmdline_parse.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_rdline.c cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_rdline.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_socket.c cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_socket.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_vt100.c cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_vt100.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline.c replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
cmdline.h eal: introduce portable format attribute 2020-03-18 01:19:16 +01:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build build: remove individual library versions 2019-11-20 23:05:39 +01:00
rte_cmdline_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00