<html><head></head><body>Hi,<br><br>Clang 7 supports what you call C17. It even has a compiler flag for it explicitly. That's all in the LLVM and Clang documentation.<br><br>Ergo it works or your compiler is buggy.<br><br><div class="gmail_quote">Le 25 février 2020 08:36:39 GMT+02:00, Marvin Scholz <epirat07@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">On 25 Feb 2020, at 6:56, Rémi Denis-Courmont wrote:<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Le maanantaina 24. helmikuuta 2020, 17.45.07 EET Marvin Scholz a <br>écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">even though it never modifies it.<br>Clang versions 7 or older did implement this quite strictly and<br>therefore errors when compiling this code:<br></blockquote>That's either a bug in that compiler version or possibly a minor <br>update not<br>installed, or mistaken compiler flag (in other words, configure script <br>bug).<br>Clang 7 officially supports C17/C18.<br></blockquote><br>I tested all major versions before 7 and all are affected.<br>I can’t easily test minor versions between 7 or 8 as they are not <br>available<br>on godbolt. Looking at the git repository though it seems the first <br>fixed<br>version was 8.0.0.<br><br>Not sure what you mean by mistaken compiler flag here?<br><br>><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> And to call it C17 is a bit of a stretch. It's really just an <br> re-edition of<br> C11 with editorial corrections gathered. The atomic spelling error was <br> already<br> found and corrected in 2014.<br><br></blockquote><br>It’s called C17 on open-std.org, thats why I used that here, not sure <br>what else to<br>call it.<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> -- <br> Реми Дёни-Курмон<br> <a href="http://www.remlab.net/">http://www.remlab.net/</a><hr> vlc-devel mailing list<br> To unsubscribe or modify your subscription options:<br> <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>