<div dir="ltr">Hi Fredrik,<div><br></div><div>You can try passing "-fno-rtti" to the driver which might help with lack of RTTI in MS ABI.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 9:34 PM, Fredrik Orderud <span dir="ltr"><<a href="mailto:forderud@gmail.com" target="_blank">forderud@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 dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Wed, Dec 4, 2013 at 6:36 PM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">What C/C++ runtime are you trying to use, a mingw variant or one of Microsoft's?<div><br></div><div>We support __uuidof in the Microsoft C++ ABI, but not the Itanium C++ ABI.  The easiest way to use the Microsoft C++ ABI support is with the clang-cl frontend:</div>



<div><a href="http://clang.llvm.org/docs/UsersManual.html#clang-cl" target="_blank">http://clang.llvm.org/docs/UsersManual.html#clang-cl</a><br></div><div><br></div><div>However, the Microsoft C++ ABI support is still really immature, so you might want to stick with mingw.  In the Microsoft C++ ABI, Clang lacks support for:</div>



<div>- pass by value of certain kinds of objects</div><div>- RTTI</div><div>- exceptions</div><div>- debug info</div><div>- member pointer support is a bit weak</div></div></blockquote><div><br></div></div><div> Thanks for the information Reid!<br>


<br></div><div>I am entirely new to Clang and was unknowingly targeting the Itanium ABI. By switching to the the Microsoft ABI with clang-cl the problem went away. :-)<br><br></div><div>Unfortunately, I instead encountered many RTTI-related compiler issues as you mentioned. This is a bit disappointing, since it seem like neither ABI will work for me at the time being.<br>


<br></div><div>My primary motivation for testing Clang was to evaluate the static analyzer. Run-time issues like exceptions, missing debug info etc. is therefore not a concern for me. What matters is to be able to parse/compile the code.<span class="HOEnZb"><font color="#888888"><br>


<br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Fredrik<br></div></font></span></div></div></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Joćo Matos
</div>