Thread (5 messages) 5 messages, 3 authors, 2025-08-29

RE: [PATCH] test_bbdev: enable to be compiled on Windows

From: Chautru, Nicolas <hidden>
Date: 2025-06-13 18:56:09

-----Original Message-----
From: Andre Muezerie <redacted>
Sent: Thursday, June 12, 2025 8:25 AM
To: Chautru, Nicolas <redacted>; Dmitry Kozlyuk
[off-list ref]; Tyler Retzlaff [off-list ref]
Cc: dev@dpdk.org; Andre Muezerie <redacted>
Subject: [PATCH] test_bbdev: enable to be compiled on Windows

This patch fixes a few issues which were preventing this test from getting
compiled on Windows:

1) VLAs were removed: Variable Length Arrays are not supported by MSVC.
Where possible constant C arrays were used. Where that approach was not
possible alloca() was called instead.

2) rte_os_shim is included because this test relies on getline() function, which
is not provided by Windows APIs.

Signed-off-by: Andre Muezerie <redacted>
---
Acked-by: Nic Chautru <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help