Re: [PATCH] drivers: allow build with VLAs

2025-02-08 Thread David Marchand
On Sat, Feb 8, 2025 at 10:29 AM Thomas Monjalon wrote: > > The drivers nfb, mvpp2 and mvsam use some variable length arrays > in their code, so the warnings about VLA must be disabled for now, > until removal for MSVC support, as in some other drivers. > > The warnings look like below: > > nfb_rx.

[PATCH] drivers: allow build with VLAs

2025-02-08 Thread Thomas Monjalon
The drivers nfb, mvpp2 and mvsam use some variable length arrays in their code, so the warnings about VLA must be disabled for now, until removal for MSVC support, as in some other drivers. The warnings look like below: nfb_rx.h:156:16: error: ISO C90 forbids variable length array 'packet