This is introduced by e8428a9d89f1 ("eal/windows: add some basic functions and macros"). So sending to you guys:
Caught while compiling all my envs with --buildtype=debug rather than debugoptimized: ninja: Entering directory `/home/dmarchan/builds/build-x86-mingw' ... Build targets in project: 70 Option buildtype is: debug [default: release] Found ninja-1.9.0 at /usr/bin/ninja [1/149] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj'. FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj x86_64-w64-mingw32-gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../../dpdk/lib -I. -I../../dpdk/ -Iconfig -I../../dpdk/config -Ilib/librte_eal/include -I../../dpdk/lib/librte_eal/include -Ilib/librte_eal/windows/include -I../../dpdk/lib/librte_eal/windows/include -Ilib/librte_eal/x86/include -I../../dpdk/lib/librte_eal/x86/include -Ilib/librte_eal/common -I../../dpdk/lib/librte_eal/common -Ilib/librte_eal -I../../dpdk/lib/librte_eal -Ilib/librte_kvargs -I../../dpdk/lib/librte_kvargs -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Werror -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D_WIN32_WINNT=0x0A00 -D__USE_MINGW_ANSI_STDIO -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="21.0"' -MD -MQ 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj' -c ../../dpdk/lib/librte_eal/common/eal_common_hexdump.c In file included from ../../dpdk/lib/librte_eal/include/rte_common.h:28, from ../../dpdk/lib/librte_eal/include/rte_string_fns.h:21, from ../../dpdk/lib/librte_eal/common/eal_common_hexdump.c:9: ../../dpdk/lib/librte_eal/windows/include/rte_os.h:40: error: "strncasecmp" redefined [-Werror] 40 | #define strncasecmp(s1, s2, count) _strnicmp(s1, s2, count) | In file included from ../../dpdk/lib/librte_eal/include/rte_string_fns.h:19, from ../../dpdk/lib/librte_eal/common/eal_common_hexdump.c:9: /usr/x86_64-w64-mingw32/sys-root/mingw/include/string.h:119: note: this is the location of the previous definition 119 | #define strncasecmp _strnicmp | cc1: all warnings being treated as errors -- David Marchand