[vlc-devel] [PATCH 09/12] network: io: Remove VLA usages

Steve Lhomme robux4 at ycbcr.xyz
Fri Dec 11 09:59:16 CET 2020

On 2020-12-10 21:21, Pierre Ynard via vlc-devel wrote:
>> The vote won't be about this patchset, but about an agreement for VLA
>> removal in VLC.
> Another strategy is to use #ifdef's or platform specific code. I'm not
> saying this should be the favored solution in general, because it deals
> with variable declarations so it's annoying to handle; but in some cases
> where we deem performance or error management critical, maybe it can be
> a solution to maintain MSVC support in a less detrimental way.

That sounds like maintaining 2 different versions of the same code. 
That's not a good idea IMO.

More information about the vlc-devel mailing list