<div dir="ltr"><div>You can submit a patch to fix <a href="https://bugs.llvm.org/show_bug.cgi?id=19942">https://bugs.llvm.org/show_bug.cgi?id=19942</a>. I think it's the docs that are wrong.<br><br></div>-- HT<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 12, 2018 at 9:10 AM, Aaron Ballman via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Mar 11, 2018 at 8:22 AM, Сергей Михайлов via cfe-dev<br>
<<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> wrote:<br>
> Hello,<br>
><br>
><br>
> may be I have missed something, but the online version of Clang Compiler<br>
> User's Manual has c94 language mode among others for -std option (listed<br>
> under Language Features), but the compiler rejects c94 in '-std=c94' (but<br>
> accepts 'iso9899:199409' instead, for presumably the same revision).<br>
><br>
> Looks like the compiler behavior and the online manual are out of sync a<br>
> bit.<br>
> Not sure if there are plans to adjust either of them.<br>
><br>
> Any comments?<br>
<br>
</span>Yes, the documentation is out of date. There is no -std=c94 in Clang<br>
(or GCC), but -std=iso9899:1994 is the way you'd spell it.<br>
<br>
~Aaron<br>
<br>
><br>
><br>
> Regards,<br>
> Sergey Mikhailov.<br>
><br>
> ______________________________<wbr>_________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
><br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>