[PATCH v4 18/19] test: remove use of VLAs for Windows built code in bitset tests

David Marchand david.marchand at redhat.com
Tue Nov 5 09:32:36 CET 2024


On Tue, Nov 5, 2024 at 4:19 AM Andre Muezerie
<andremue at linux.microsoft.com> wrote:
>
> MSVC does not support VLAs, replace VLAs with standard C arrays
> or alloca(). alloca() is available for all toolchain/platform
> combinations officially supported by DPDK.

This commitlog does not reflect what is being changed in the patch.

> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>

gcc 13 (at least) complains about this patch.
https://github.com/ovsrobot/dpdk/actions/runs/11677008675/job/32514228727#step:12:3658

I suspect you may have to change some "static" bitset into a
dynamically allocated one.


-- 
David Marchand



More information about the dev mailing list