Hi Stephen, This is a UNH Lab system.
We review our systems for updates once every 4 months. The idea is we do it early in each DPDK release's development cycle. So, we update Dockerfiles (for container environments), we apply updates where needed to persistent systems (for VMs, or baremetal servers). Obviously the Mingw version for the windows system was a check we have not been doing. Thank you for spotting this and letting us know. We will apply the update and let you know when it's ready. On Thu, Jul 25, 2024 at 11:03 AM Stephen Hemminger <step...@networkplumber.org> wrote: > > > > This warning is due to a very old version of Mingw installed in CI system. > > ==== 20 line log output for Windows Server 2019 (dpdk_mingw64_compile): ==== > In file included from ..\lib\net/rte_ip.h:21, > from ../lib/net/rte_dissect.c:20: > C:/mingw64/mingw64/x86_64-w64-mingw32/include/ws2tcpip.h:447:63: note: > expected 'PVOID' {aka 'void *'} but argument is of type 'const uint8_t *' > {aka 'const unsigned char *'} > WINSOCK_API_LINKAGE LPCSTR WSAAPI InetNtopA(INT Family, PVOID pAddr, LPSTR > pStringBuf, size_t StringBufSize); > ~~~~~~^~~~~ > ../lib/net/rte_dissect.c:292:29: error: passing argument 2 of 'inet_ntop' > discards 'const' qualifier from pointer target type > [-Werror=discarded-qualifiers] > inet_ntop(AF_INET6, ip6_hdr->dst_addr, dbuf, sizeof(dbuf)); > ~~~~~~~^~~~~~~~~~ > In file included from ..\lib\net/rte_ip.h:21, > from ../lib/net/rte_dissect.c:20: > C:/mingw64/mingw64/x86_64-w64-mingw32/include/ws2tcpip.h:447:63: note: > expected 'PVOID' {aka 'void *'} but argument is of type 'const uint8_t *' > {aka 'const unsigned char *'} > WINSOCK_API_LINKAGE LPCSTR WSAAPI InetNtopA(INT Family, PVOID pAddr, LPSTR > pStringBuf, size_t StringBufSize); > ~~~~~~^~~~~ > > It was fixed upstream in Mingw 4 years ago.