<div dir="ltr">It's trying to use RTTI for exceptions.  You can attempt to disable the exception handling code by passing -D_HAS_EXCEPTIONS=0, but Microsoft doesn't fully support this.  For now, I use it while self-hosting clang with clang-cl.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 28, 2013 at 3:04 PM, Astron B <span dir="ltr"><<a href="mailto:boldaster@gmail.com" target="_blank">boldaster@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">Hey guys,<br><br>Despite disabling RTTI using the /GR- argument I still get the following errors while trying to compile code that uses the STL vector with clang-cl: <br><div><br>F:\LLVM-fresh\vs11\bin\Debug>clang-cl /c /GR- testdll.cpp<br>

error: cannot mangle RTTI descriptors for type 'bad_alloc' yet<br>error: cannot mangle the name of type 'bad_alloc' into RTTI descriptors yet<br>error: cannot mangle RTTI descriptors for type 'exception' yet<br>

error: cannot mangle the name of type 'exception' into RTTI descriptors yet<br>4 errors generated.<br><br></div><div>Thanks for any assistance!<br></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></div>