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

Rémi Denis-Courmont remi at remlab.net
Fri Feb 28 10:10:51 CET 2020


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.

Le 28 février 2020 10:37:24 GMT+02:00, "Hugo Beauzée-Luyssen" <hugo at beauzee.fr> a écrit :
>On Fri, Feb 28, 2020, at 7:34 AM, Rémi Denis-Courmont wrote:
>> This patch enables people to use outdated compilers that will miss 
>> modern optimisations and threat mitigation features from newer LLVM 
>> versions, which are available for all platforms that any VLC dev
>cares 
>> about. All of that to avoid one apt-get install or equivalent.
>> 
>
>This patch enables people with a strict C11 compliant atomic_load
>implementation to compile VLC.
>
>-- 
>  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

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20200228/d97ed568/attachment.html>


More information about the vlc-devel mailing list