Re: [dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW

2021-04-19 Thread Dmitry Kozlyuk
Hi Tal, 2021-04-19 18:06 (UTC+), Tal Shnaiderman: > I also noticed warnings in clang on my setup that are related to > rte_os_shim.h: > > [185/314] Compiling C object > drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_common_mp.c.obj. > In file included from ../drivers/common/mlx5/

Re: [dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW

2021-04-19 Thread Dmitry Kozlyuk
2021-04-19 06:57 (UTC+), Tal Shnaiderman: > [...] > > > > 18/04/2021 19:08, Tal Shnaiderman: > > > > > the strncasecmp marco defined in rte_os_shim.h is already defined > > > > > in MinGW-w64, as a result the compiler prints out the warning > > > > > below on function redefinition whenever co

Re: [dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW

2021-04-19 Thread Thomas Monjalon
19/04/2021 20:06, Tal Shnaiderman: > > > 2021-04-18 19:04 (UTC+), Tal Shnaiderman: > > > > > 18/04/2021 19:08, Tal Shnaiderman: > > > > > > the strncasecmp marco defined in rte_os_shim.h is already > > > > > > defined in MinGW-w64, as a result the compiler prints out the > > > > > > warning bel

Re: [dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW

2021-04-19 Thread Tal Shnaiderman
> Subject: Re: [dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW > > External email: Use caution opening links or attachments > > > > Subject: Re: [PATCH] eal/windows: fix build warnings in MinGW > > > > External email: Use caution opening links

Re: [dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW

2021-04-18 Thread Tal Shnaiderman
> Subject: Re: [PATCH] eal/windows: fix build warnings in MinGW > > External email: Use caution opening links or attachments > > > Hi Tal, > > 2021-04-18 19:04 (UTC+), Tal Shnaiderman: > > > Subject: Re: [PATCH] eal/windows: fix build warnings in MinGW > > > > > > External email: Use cautio

Re: [dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW

2021-04-18 Thread Dmitry Kozlyuk
Hi Tal, 2021-04-18 19:04 (UTC+), Tal Shnaiderman: > > Subject: Re: [PATCH] eal/windows: fix build warnings in MinGW > > > > External email: Use caution opening links or attachments > > > > > > 18/04/2021 19:08, Tal Shnaiderman: > > > the strncasecmp marco defined in rte_os_shim.h is alrea

Re: [dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW

2021-04-18 Thread Tal Shnaiderman
> Subject: Re: [PATCH] eal/windows: fix build warnings in MinGW > > External email: Use caution opening links or attachments > > > 18/04/2021 19:08, Tal Shnaiderman: > > the strncasecmp marco defined in rte_os_shim.h is already defined in > > MinGW-w64, as a result the compiler prints out the wa

Re: [dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW

2021-04-18 Thread Thomas Monjalon
18/04/2021 19:08, Tal Shnaiderman: > the strncasecmp marco defined in rte_os_shim.h is already > defined in MinGW-w64, as a result the compiler prints out > the warning below on function redefinition whenever compiling > a file including the header. > > ..\lib/librte_eal/windows/include/rte_os_shi

[dpdk-dev] [PATCH] eal/windows: fix build warnings in MinGW

2021-04-18 Thread Tal Shnaiderman
the strncasecmp marco defined in rte_os_shim.h is already defined in MinGW-w64, as a result the compiler prints out the warning below on function redefinition whenever compiling a file including the header. ..\lib/librte_eal/windows/include/rte_os_shim.h:21: warning: "strncasecmp" redefined #defin