<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>clang-cl.exe avoids those errors and can generate an executable from C++, but it doesn't seem to have -emit-llvm or an equivalent option.<br></div></div></blockquote><div><br></div><div>FYI, you can use this with clang-cl:</div><div>clang.cl.exe -Xclang -emit-llvm /c ... </div></div></div></div>