PATCH: Remove use of __GXX_EXPERIMENTAL_CXX0X__ from the defined(clang) region

Chandler Carruth chandlerc at gmail.com
Wed Feb 19 14:54:56 PST 2014


Super simple patch, essentially:

diff --git a/include/__config b/include/__config
index 21f7dce..8532304 100644
--- a/include/__config
+++ b/include/__config
@@ -215,7 +215,7 @@
 #define _LIBCPP_HAS_NO_TEMPLATE_ALIASES
 #endif

-#ifndef __GXX_EXPERIMENTAL_CXX0X__
+#if __cplusplus >= 201103L
 #ifdef __linux__
 #define _LIBCPP_HAS_NO_UNICODE_CHARS
 #else

If folks are relying on the 0x behavior (as opposed to the 11 behavior) I
could find a feature test to use instead.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140219/ac79201b/attachment.html>


More information about the cfe-commits mailing list