[vlc-devel] [PATCH 2/2] thread: fix compilation with clang 7 or older

Alexandre Janniaux ajanni at videolabs.io
Fri Feb 28 11:00:39 CET 2020


What Hugo is saying seems to be confirmed by these mails too:

and this page mention C17 as ISO/IEC 9899:2018

so it seems that you should require C17 to consider it
a compiler bug, otherwise it's just a standard defect.

Alexandre Janniaux

On Fri, Feb 28, 2020 at 10:34:03AM +0100, Hugo Beauzée-Luyssen wrote:
> On Fri, Feb 28, 2020, at 10:10 AM, Rémi Denis-Courmont wrote:
> > A strict C11 implementation follows errata. See, e.g. Clang 8, 9 or GCC
> > which happily compile this code in C11 mode. This patch is wrong.
> >
> DR459 was fixed in C17.
> Whatever the compiler does with this DR for any other C standard version is their business.
> --
>   Hugo Beauzée-Luyssen
>   hugo at beauzee.fr
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list