<DIV>I know,Visual Studio Use Microsoft C++ ABI,But Clang Use Itanium ABI ,They are not the same as Name mangling。</DIV><div> </div><div><sign signid="0"><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style='font-size:14px;font-family:Verdana;color:#000;'><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=1053112601&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:1053112601:50" title="点击这里给我发消息"  /></a></div></sign></div><div> </div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From:</b> "Beman Dawes"<bdawes@acm.org>; </div><div><b>Date:</b> 2013年10月1日(星期二) 晚上10:19</div><div><b>To:</b> "Clang"<cfe-dev@cs.uiuc.edu>; </div><div><b>Subject:</b> [cfe-dev] [Windows toolchain] link failures from command prompt</div></div><div><br></div>I just filed a bug report (<A href="http://llvm.org/bugs/show_bug.cgi?id=17428" target=_blank>http://llvm.<WBR>org/bugs/sho<WBR>w_bug.cgi?id<WBR>=17428</A>)<BR>against LLVM-3.4.r191323-win32.exe. Here is the rationale for considering<BR>failure to link under the "Developer Command Prompt for VS2012" a bug:<BR><BR>Boost developers and test runners, and probably lots of other folks too, run<BR>their automated tests from the command prompt rather than via the IDE. So it<BR>is a showstopper for these folks if the clang windows toolchain doesn't work<BR>from the command prompt.<BR><BR>In my little hello.cpp test the clang++ compile was clean, but the link had<BR>unresolved externals like "hello-111ee3.o : error LNK2019: unresolved<BR>external symbol __ZSt4cout referenced in function _main".<BR><BR>That's particularly frustrating since it is so close to working!<BR><BR>Once the command prompt is working, I'll submit a patch to<BR><A href="http://llvm.org/builds/" target=_blank>http://llvm.<WBR>org/builds/</A> explaining how to use it.<BR><BR>Thanks,<BR><BR>--Beman<BR><BR><BR>_______________________________________________<BR>cfe-dev mailing list<BR><A href="mailto:cfe-dev@cs.uiuc.edu" target=_blank>cfe-dev@cs.u<WBR>iuc.edu</A><BR><A href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target=_blank>http://lists<WBR>.cs.uiuc.edu<WBR>/mailman/lis<WBR>tinfo/cfe-de<WBR>v</A><BR>.<BR>