<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 15, 2010, at 12:17 PM, <a href="mailto:crazygamealexs@hotmail.com">crazygamealexs@hotmail.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" id="MailContainerBody" leftmargin="0" topmargin="0" canvastabstop="true" name="Compose message area">
<div><font face="Calibri">C:\Users\alex\Desktop>clang++ -nostdinc -I
C:\MinGW\lib\gcc\mingw32\4.4.0\inclu<br>e\c++ hello.cpp<br>In file included from
hello.cpp:2:<br>C:\MinGW\lib\gcc\mingw32\4.4.0\include\c++/iostream:38:10: fatal
error:<br> 'bits/c++config.h' file not
found<br>#include
<bits/c++config.h><br>
^<br>Assertion failed: TemplateTypeParm->getDepth() == 0 && "Can't
deduce with depth<br>> 0", file
C:\Users\alex\Desktop\llvm\tools\clang\lib\Sema\SemaTemplateDeductio<br>.cpp,
line 436</font></div>
<div> </div>
<div><font face="Calibri">This application has requested the Runtime to terminate
it in an unusual way.<br>Please contact the application's support team for more
information.<br>clang++: error: clang frontend command failed with exit code 3
(use -v to see i<br>vocation)</font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">Am I doing something wrong?</font></div></div></blockquote><br></div><div>The assertion is unfortunate, but the basic problem is that Clang can't find all of the mingw headers. Look at where <bits/c++config.h> resides, and make sure to add an -I for that location to your command line.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>- Doug</div><br></body></html>