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

2021-05-04 Thread Thomas Monjalon
26/04/2021 17:58, Dmitry Kozlyuk: > 2021-04-21 19:09 (UTC+0300), Tal Shnaiderman: > > the strncasecmp macro 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 he

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

2021-04-26 Thread Dmitry Kozlyuk
2021-04-21 19:09 (UTC+0300), Tal Shnaiderman: > the strncasecmp macro 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 in debug mode. > > ..\lib/librte_eal/w

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

2021-04-21 Thread Tal Shnaiderman
the strncasecmp macro 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 in debug mode. ..\lib/librte_eal/windows/include/rte_os_shim.h:21: warning: "strncasecmp" re