<div dir="ltr">I think we need to do a bit more work here before submitting anything like this. I had planned to do it, but if you want to do it, the minimum I think we should do first:<div><br></div><div>- Document what versions of which compilers we're trying to support as host compilers.</div>
<div>- Add at least some checks to try to error early and clearly at configure / cmake time on host compilers we don't really support (with a flag to bypass this)</div><div>- Get the build bots upgraded so that these changes don't cause the bots to just die immediately -- there are several where it would.</div>
<div>- Document the C++11 features which we think are supported by these compilers (mostly MSVC restrictions I suspect)</div><div>- Throw the switch in a way that folks can locally disable it for a while</div><div>- Then make it permanent and expose C++1y</div>
<div><br></div><div>Does that make sense?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 6, 2014 at 12: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>