[PATCH] libc++: Add option to disable access to the global filesystem namespace

Jonathan Roelofs jonathan at codesourcery.com
Thu Mar 12 11:10:07 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: libcxx/trunk/include/__config:731
@@ +730,3 @@
+// used, as they attempt to access the global filesystem namespace.
+#ifdef __CloudABI__
+#define _LIBCPP_HAS_NO_GLOBAL_FILESYSTEM_NAMESPACE
----------------
EricWF wrote:
> jroelofs wrote:
> > EricWF wrote:
> > > Where do we get the definition for `__CloudABI__` from?
> > Compiler provides it, just like `__APPLE__` and all the others.
> Where can I find more information about when Clang defines this macro?
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150302/264362.html

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150309/125077.html

http://reviews.llvm.org/D8194

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list