Hi,<div><br></div><div>I'm using the latest LLVM (<font face="courier new, monospace">r168491</font>) built by GCC 4.7.2 (Gentoo masked version). The <font face="courier new, monospace">clang++</font> runs as expected when I compile a hello program with c++11 enabled.</div>

<div><br></div><div>I created a project (copied from<font face="courier new, monospace"> sample/</font>) where there are some C++ source files with c++11 features.  I configured my project using the following command:</div>

<div><font face="courier new, monospace">$ CXXFLAGS="-std=c++11" ../configure --enable-cxx11</font></div><div>However, I found that the <font face="courier new, monospace">clang++</font> did not build my project with the "<font face="courier new, monospace">-std=c++</font>" option[1].<br>

</div><div><br></div><div>Could anyone kindly show me how to enable C++11 in a LLVM project, please?</div><div><br></div><div>Thank you.</div><div>Miangliang.</div><div><br></div><div>[1] I get the detailed options building my project using <font face="courier new, monospace">'make VERBOSE=1'</font></div>

<div>-- <br><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" color="#666666">Mingliang LIU (刘明亮 in Chinese)<br><br>PACMAN Group,  Dept. of Computer Science & Technology<br>Tsinghua University, Beijing 100084, China<br>

Email: <a href="mailto:liuml07@mails.tsinghua.edu.cn" target="_blank">liuml07@mails.tsinghua.edu.cn</a></font><div><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" color="#666666">Homepage: <a href="http://pacman.cs.tsinghua.edu.cn/~liuml07" style="line-height:19px;text-align:center" target="_blank">http://pacman.cs.tsinghua.edu.cn/~liuml07/</a></font></div>

<br>
</div>