[PATCH v3] test_bbdev: enable to be compiled on Windows
David Marchand
david.marchand at redhat.com
Fri Aug 29 15:07:38 CEST 2025
On Mon, 21 Jul 2025 at 20:31, Andre Muezerie
<andremue at linux.microsoft.com> wrote:
>
> 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 <andremue at linux.microsoft.com>
> Acked-by: Nicolas Chautru <nicolas.chautru at intel.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list