<div dir="ltr">Sorry, my bad. The name mangling suddenly works now. Didn't figure out what went wrong.<div><br></div><div>About your local patches, can you publish them somewhere?</div><div><br></div><div style>The virtual inheritance part, I've traced dynamic_cast, and found it quite complicated(single inheritance, multiple inheritance, virtual inheritance).</div>
<div style>As it's needed for a basic header <iostream>, I think I can start working on it.</div><div style>What do you think?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 3:21 PM, Timur Iskhodzhanov <span dir="ltr"><<a href="mailto:timurrrr@google.com" target="_blank">timurrrr@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2013/4/25 <a href="mailto:endlessroad1991@gmail.com">endlessroad1991@gmail.com</a> <<a href="mailto:endlessroad1991@gmail.com">endlessroad1991@gmail.com</a>>:<br>

<div class="im">> What's the current status of clang on Windows?<br>
</div>We're working on it :)<br>
With my local patches I can build reasonably complex source code.<br>
We're in progress upstreaming them but it'll take some time to polish<br>
them before review/commit process.<br>
<div class="im"><br>
> I tried llvm & clang r180250 with MSVC 2012, with "clang++ -Xclang -cxx-abi<br>
> -Xclang microsoft -c 1.cpp"<br>
> 1. Can't parse MSVC headers. <iostream>, in this case<br>
</div>iostream is a tough guy - I think clang can't even compile Linux<br>
headers in the Microsoft ABI mode.<br>
One has to support virtual inheritance to build iostream<> as both<br>
basic_istream<> and basic_ostream<> virtually inherit from<br>
basic_ios<>.<br>
And we're not working with virtual inheritance correctly in this ABI yet.<br>
<div class="im"><br>
> 2. Even if I specified -cxxabi microsoft, "dumpbin /disasm 1.o" gives wrong<br>
> mangled name: _Z1fi for "void f(int)",instead of cl compiled<br>
> object(?f@@YAXH@Z)<br>
</div>That looks wrong, symbols are usually mangled correctly to me.<br>
Can you run with -v and make sure there are no "unknown command line<br>
argument" warnings?<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best Regards, Tong Shen (沈彤)
</div>