[vlc-devel] [PATCH 2/2] thread: fix compilation with clang 7 or older
remi at remlab.net
Fri Feb 28 11:33:54 CET 2020
You can argue whether failing to implement errata is a bug or not. In this case, it's a compiler bug anyway because it fails even in so-called C17 mode.
Le 28 février 2020 12:00:39 GMT+02:00, Alexandre Janniaux <ajanni at videolabs.io> a écrit :
>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.
>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
>> > 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:
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel