[vlc-devel] [PATCH 2/2] thread: fix compilation with clang 7 or older
remi at remlab.net
Tue Feb 25 06:56:12 CET 2020
Le maanantaina 24. helmikuuta 2020, 17.45.07 EET Marvin Scholz a écrit :
> even though it never modifies it.
> Clang versions 7 or older did implement this quite strictly and
> therefore errors when compiling this code:
That's either a bug in that compiler version or possibly a minor update not
installed, or mistaken compiler flag (in other words, configure script bug).
Clang 7 officially supports C17/C18.
And to call it C17 is a bit of a stretch. It's really just an re-edition of
C11 with editorial corrections gathered. The atomic spelling error was already
found and corrected in 2014.
More information about the vlc-devel