<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">Sorry, my bad. The name mangling suddenly works now. Didn't figure out what went wrong.</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">About making Microsoft ABI default, since Microsoft ABI support has not matured yet, maybe we can hold back for a while...</span></div><div style>
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">These headers aside, what's the major problem?</span></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 6:41 PM, João Matos <span dir="ltr"><<a href="mailto:ripzonetriton@gmail.com" target="_blank">ripzonetriton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Apr 25, 2013 at 6:43 AM, <a href="mailto:endlessroad1991@gmail.com" target="_blank">endlessroad1991@gmail.com</a> <span dir="ltr"><<a href="mailto:endlessroad1991@gmail.com" target="_blank">endlessroad1991@gmail.com</a>></span> wrote:<br>


</div><div class="gmail_quote"><div class="im"><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><div>You need to patch the preprocessor to get most of MSVC 2012 headers working.</div><div class="im"><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><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>
<span class="HOEnZb"><font color="#888888">

</font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>João Matos
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards, Tong Shen (沈彤)
</div>