<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 4, 2016 at 3:49 PM, Marshall Clow via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</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: Mon Apr  4 17:49:20 2016<br>
New Revision: 265358<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=265358&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=265358&view=rev</a><br>
Log:<br>
Put back the undefs that Richard removed. Boost won't build w/o these; specifically the file 'bytes_methods.h' in Apple's python framework defines these.<br></blockquote><div><br></div><div>Huh? These are #undef'd in libc++'s <ctype.h>, which is included at the top of this file. Problems here sound like the compiler's include path is broken (it's finding the libc <ctype.h> before the libc++ one).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Modified:<br>
    libcxx/trunk/include/cctype<br>
<br>
Modified: libcxx/trunk/include/cctype<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/cctype?rev=265358&r1=265357&r2=265358&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/cctype?rev=265358&r1=265357&r2=265358&view=diff</a><br>
==============================================================================<br>
--- libcxx/trunk/include/cctype (original)<br>
+++ libcxx/trunk/include/cctype Mon Apr  4 17:49:20 2016<br>
@@ -44,6 +44,63 @@ int toupper(int c);<br>
<br>
 _LIBCPP_BEGIN_NAMESPACE_STD<br>
<br>
+#ifdef isalnum<br>
+#undef isalnum<br>
+#endif<br>
+<br>
+#ifdef isalpha<br>
+#undef isalpha<br>
+#endif<br>
+<br>
+#ifdef isblank<br>
+#undef isblank<br>
+#endif<br>
+<br>
+#ifdef iscntrl<br>
+#undef iscntrl<br>
+#endif<br>
+<br>
+#ifdef isdigit<br>
+#undef isdigit<br>
+#endif<br>
+<br>
+#ifdef isgraph<br>
+#undef isgraph<br>
+#endif<br>
+<br>
+#ifdef islower<br>
+#undef islower<br>
+#endif<br>
+<br>
+#ifdef isprint<br>
+#undef isprint<br>
+#endif<br>
+<br>
+#ifdef ispunct<br>
+#undef ispunct<br>
+#endif<br>
+<br>
+#ifdef isspace<br>
+#undef isspace<br>
+#endif<br>
+<br>
+#ifdef isupper<br>
+#undef isupper<br>
+#endif<br>
+<br>
+#ifdef isxdigit<br>
+#undef isxdigit<br>
+#endif<br>
+<br>
+#ifdef tolower<br>
+#undef tolower<br>
+#endif<br>
+<br>
+#ifdef toupper<br>
+#undef toupper<br>
+#endif<br>
+<br>
+<br>
 using ::isalnum;<br>
 using ::isalpha;<br>
 using ::isblank;<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div></div>