[dpdk-dev] [PATCH v3 1/2] eal: fix warnings on Windows
Thomas Monjalon
thomas at monjalon.net
Thu Jun 11 18:14:41 CEST 2020
29/05/2020 01:14, Pallavi Kadam:
> Fixed bunch of warnings when compiling using clang on Windows
> such as the use of an unsafe string function (strerror),
> [-Wunused-variable], [-Wunused-function] in eal_common_options.c
> [-Wunused-const-variable] in getopt.c and [-Wunused-parameter]
> in eal_common_thread.c.
> Also fixed warnings generated using Mingw:
> [-Werror=old-style-definition], [-Werror=cast-function-type] and
> [-Werror=attributes]
>
> Signed-off-by: Ranjit Menon <ranjit.menon at intel.com>
> Signed-off-by: Pallavi Kadam <pallavi.kadam at intel.com>
> Tested-by: Pallavi Kadam <pallavi.kadam at intel.com>
Tested-by is useless if you are the author of the patch.
> lib/librte_eal/common/eal_common_options.c | 8 +++++++-
> lib/librte_eal/windows/eal.c | 2 +-
> lib/librte_eal/windows/eal_lcore.c | 2 +-
> lib/librte_eal/windows/eal_thread.c | 3 ++-
> lib/librte_eal/windows/getopt.c | 4 ++--
> lib/librte_eal/windows/include/pthread.h | 6 ++++--
> 6 files changed, 17 insertions(+), 8 deletions(-)
There were some changes since v2 which were not reviewed.
Someone please?
More information about the dev
mailing list