[PATCH] [libcxx] Update the way the -std= flag is chosen by CMake and LibcxxTestFormat

Dan Albert danalbert at google.com
Fri Jun 27 15:16:44 PDT 2014


================
Comment at: CMakeLists.txt:193
@@ +192,3 @@
+  endif()
+  if (DEFINED LIBCXX_STD_VERSION)
+    list(APPEND LIBCXX_CXX_REQUIRED_FLAGS -std=${LIBCXX_STD_VERSION})
----------------
Should the else case be an error? Can libc++ be compiled with less than c++0x?

http://reviews.llvm.org/D4329






More information about the cfe-commits mailing list