<div dir="ltr">Sometime ago I proposed a patch for checking the compiler's version is good enough for us ( 11/27/13: "[PATCH] CMake/Autoconf : perform a sanity check on the compiler support for C++11"). This was however happening after very long discussions in the mailing list about C++11 usage in LLVM.<div>
<br></div><div>The patch did not get much feedback (apart from Tim), so I did not commit it, but if C++11 becomes the default compilation mode, I believe we should add those safety checks (g++ >= 4.7.1, clang++ >= 3.1, VS >= 2012).<div>
<br></div><div>Cheers,</div><div>--</div><div>Arnaud</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 6, 2014 at 6:34 PM, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The attached patch enables C++11 by default in the CMake and Makefile build systems.<br>
<br>
The old LLVM_ENABLE_CXX11 flag is retrofitted as LLVM_ENABLE_CXX1Y for those looking to try the latest experimental standard.<br>
<br>
The CMake changes include an additional fallback to -std=c++0x. This fallback can hopefully be removed shortly when the remaining legacy build servers are upgraded.<br>
<br>
No changes made to the MSVC configuration in this patch. I'm guessing Takumi will want to take care of that personally :-)<span class="HOEnZb"><font color="#888888"><br>
<br>
Alp.<br>
<br>
-- <br>
<a href="http://www.nuanti.com" target="_blank">http://www.nuanti.com</a><br>
the browser experts<br>
<br>
</font></span><br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>