[llvm] r202542 - [C++11] Switch CMake to use C++11 by default! Next up, autoconf/make!

Chandler Carruth chandlerc at gmail.com
Fri Feb 28 13:30:03 PST 2014


Author: chandlerc
Date: Fri Feb 28 15:30:03 2014
New Revision: 202542

URL: http://llvm.org/viewvc/llvm-project?rev=202542&view=rev
Log:
[C++11] Switch CMake to use C++11 by default! Next up, autoconf/make!

Now, please don't get too excited. I've just toggled the default to suss
out the last remaining bot problems. This does *not* mean we can all go
write lots of C++11 code yet. I at least want to let the dust settle
from the bots first.

Modified:
    llvm/trunk/CMakeLists.txt

Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=202542&r1=202541&r2=202542&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Fri Feb 28 15:30:03 2014
@@ -203,7 +203,7 @@ else( MSVC )
   option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
 endif()
 
-option(LLVM_ENABLE_CXX11 "Compile with C++11 enabled." OFF)
+option(LLVM_ENABLE_CXX11 "Compile with C++11 enabled." ON)
 option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF)
 option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
 option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)





More information about the llvm-commits mailing list