On Thu, Apr 25, 2013 at 6:43 AM, <a href="mailto:endlessroad1991@gmail.com">endlessroad1991@gmail.com</a> <span dir="ltr"><<a href="mailto:endlessroad1991@gmail.com" target="_blank">endlessroad1991@gmail.com</a>></span> wrote:<br>

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What's the current status of clang on Windows?<div><br></div><div>I tried llvm & clang r180250 with MSVC 2012, with "clang++ -Xclang -cxx-abi -Xclang microsoft -c 1.cpp"</div>

<div>
1. Can't parse MSVC headers. <iostream>, in this case</div></div></blockquote><div><br></div><div>You need to patch the preprocessor to get most of MSVC 2012 headers working.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div>2. Even if I specified -cxxabi microsoft, "dumpbin /disasm 1.o" gives wrong mangled name: _Z1fi for "void f(int)",instead of cl compiled object(?f@@YAXH@Z)</div></div></blockquote>
<div>
<br></div><div>That should work. Anyway that reminds me it's about time we make Microsoft ABI the default when targeting the MSVC headers. What do you think? I had done a patch that did this a few months, I can send it for review.</div>

</div><div><br></div>-- <br>Joćo Matos