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.
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). Cheers, -- Arnaud On Mon, Jan 6, 2014 at 6:34 PM, Alp Toker <[email protected]> wrote: > The attached patch enables C++11 by default in the CMake and Makefile > build systems. > > The old LLVM_ENABLE_CXX11 flag is retrofitted as LLVM_ENABLE_CXX1Y for > those looking to try the latest experimental standard. > > 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. > > No changes made to the MSVC configuration in this patch. I'm guessing > Takumi will want to take care of that personally :-) > > Alp. > > -- > http://www.nuanti.com > the browser experts > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
