<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 16, 2015 at 6:22 PM, Edward Diener <span dir="ltr"><<a href="mailto:eldlistmailingz@tropicsoft.com" target="_blank">eldlistmailingz@tropicsoft.com</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 6/16/2015 1:01 PM, Konstantin Tokarev wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
16.06.2015, 19:55, "Edward Diener" <<a href="mailto:eldlistmailingz@tropicsoft.com" target="_blank">eldlistmailingz@tropicsoft.com</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For any given version of clang, including the latest, is there any list<br>
of command-line compiler options, with their meanings, which clang accepts ?<br>
</blockquote>
<br>
clang --help<br>
clang -cc1 --help<br>
clang -cc1 -mllvm --help<br>
</blockquote>
<br></span>
Here is the explanation from "clang --help" of the -std option:<br>
<br>
-std=<value> Language standard to compile for<br>
<br>
Incredible ! I did not realize how much vital information can be packed into command-line help until I read the explanation.<br>
<br>
I have used clang and it's a great compiler but if you do not want to be badgered by continual questions in your mailing list about how clang actual works when used by an end-user I would suggest that clang actually spend some time telling programmers how to use their product. The "Clang Compiler User’s Manual" is not that documentation if a programmer must spend hours of his time just to find out what the values and their meanings are which the "-std" option takes for any given version of clang, including the latest.</blockquote><div><br></div><div>The standard answer is to look at GCC's documentation, since you are using our gcc-compatible driver (or Microsoft's documentation if your are using our cl.exe compatible driver). Feel free to report any compatibility issues.</div><div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div></div>