<div dir="ltr">-Wextra-tokens would've caught this too -- I suppose it didn't fire since this is considered a system header by clang? Maybe libcxx's build process should include -Wsystem-headers?</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Feb 22, 2014 at 7:13 AM, Marshall Clow <span dir="ltr"><<a href="mailto:mclow.lists@gmail.com" target="_blank">mclow.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: marshall<br>
Date: Sat Feb 22 09:13:48 2014<br>
New Revision: 201938<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=201938&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=201938&view=rev</a><br>
Log:<br>
Fix historical #ifdef. Use __cplusplus instead of __GXX_EXPERIMENTAL_CXX0X__ when compiling with clang. No functionality change. Noteto self: It is important to run the regression tests on the copy of the code that you've changed.<br>
<br>
Modified:<br>
libcxx/trunk/include/__config<br>
<br>
Modified: libcxx/trunk/include/__config<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=201938&r1=201937&r2=201938&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=201938&r1=201937&r2=201938&view=diff</a><br>
==============================================================================<br>
--- libcxx/trunk/include/__config (original)<br>
+++ libcxx/trunk/include/__config Sat Feb 22 09:13:48 2014<br>
@@ -215,7 +215,7 @@<br>
#define _LIBCPP_HAS_NO_TEMPLATE_ALIASES<br>
#endif<br>
<br>
-#ifndef __GXX_EXPERIMENTAL_CXX0X__<br>
+#if __cplusplus < 201103L<br>
#ifdef __linux__<br>
#define _LIBCPP_HAS_NO_UNICODE_CHARS<br>
#else<br>
<br>
<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>
</blockquote></div><br></div>