[PATCH] D26934: [libc++] Add _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
Shoaib Meenai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 27 12:32:59 PST 2016
smeenai added inline comments.
================
Comment at: include/__config:513-516
#if defined(_LIBCPP_DISABLE_DLL_IMPORT_EXPORT)
+// this can be removed once any existing users have switched to the new macro
+# error "Use _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS instead of _LIBCPP_DISABLE_DLL_IMPORT_EXPORT"
+#endif
----------------
I'd like to remove this before the 4.0 release, if that's all right with you. I don't think there would be many users of the existing macro, and I'd prefer it to not make its way to a release.
https://reviews.llvm.org/D26934
More information about the cfe-commits
mailing list