[libcxx] r191988 - G M: A small patch to fix a couple of warnings in stdexcept.cpp for cl.exe which does not support #pragma visibility.
Howard Hinnant
hhinnant at apple.com
Fri Oct 4 15:12:59 PDT 2013
Author: hhinnant
Date: Fri Oct 4 17:12:59 2013
New Revision: 191988
URL: http://llvm.org/viewvc/llvm-project?rev=191988&view=rev
Log:
G M: A small patch to fix a couple of warnings in stdexcept.cpp for cl.exe which does not support #pragma visibility.
Modified:
libcxx/trunk/src/stdexcept.cpp
Modified: libcxx/trunk/src/stdexcept.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/stdexcept.cpp?rev=191988&r1=191987&r2=191988&view=diff
==============================================================================
--- libcxx/trunk/src/stdexcept.cpp (original)
+++ libcxx/trunk/src/stdexcept.cpp Fri Oct 4 17:12:59 2013
@@ -28,7 +28,9 @@
// Note: optimize for size
+#if ! defined(_LIBCPP_MSVC)
#pragma GCC visibility push(hidden)
+#endif
namespace
{
@@ -91,7 +93,9 @@ __libcpp_nmstr::~__libcpp_nmstr()
}
+#if ! defined(_LIBCPP_MSVC)
#pragma GCC visibility pop
+#endif
namespace std // purposefully not using versioning namespace
{
More information about the cfe-commits
mailing list