<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">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> 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.<br>
<br></div><div>Fredrik<br></div></div></div></div>