[vlc-devel] [vlc-commits] libvlc: media: remove VLA
Jean-Baptiste Kempf
jb at videolan.org
Mon May 23 16:06:48 CEST 2016
On 20 May, Rémi Denis-Courmont wrote :
> Le 2016-05-20 10:33, git at videolan.org a écrit :
> >vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 20
> >10:31:24 2016 +0200| [46f53fd7b613108bc88693af9dda920d226c1608] |
> >committer: Thomas Guillem
> >
> >libvlc: media: remove VLA
> >
> >Since it's optional in C11 and not implemented in MSVC.
>
> This is NOT a VLA. This is flexible array. While VLA are indeed optional in
> C11, flexible arrays are mandatory.
But what about C++ ?
I'm not sure flexible arrays are allowed in C++, even in C++11.
As this is a public header, that could prove problematic.
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list