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

Andre Muezerie andremue at linux.microsoft.com
Wed Nov 6 03:06:51 CET 2024


On Tue, Nov 05, 2024 at 09:32:36AM +0100, David Marchand wrote:
> 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
Thanks David, I'll address this.


More information about the dev mailing list