From f7a544bca89c19f29d0abb2a8664b03630fb0889 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Wed, 28 Aug 2019 18:10:39 +0000 Subject: [libc++] Fix visibility of __vector_base_common on GCC Since we build the library with -fvisibility=hidden, the shared object wouldn't contain __vector_base_common::__throw_length_error() and __vector_base_common::__throw_out_of_range(), leading to link errors. This only happened on GCC for some reason. https://llvm.org/PR43140 llvm-svn: 370240 --- libcxx/include/vector | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/include/vector') diff --git a/libcxx/include/vector b/libcxx/include/vector index 5481b2ff895..2d83484aa20 100644 --- a/libcxx/include/vector +++ b/libcxx/include/vector @@ -297,7 +297,7 @@ _LIBCPP_PUSH_MACROS _LIBCPP_BEGIN_NAMESPACE_STD template -class __vector_base_common +class _LIBCPP_TEMPLATE_VIS __vector_base_common { protected: _LIBCPP_INLINE_VISIBILITY __vector_base_common() {} -- cgit v1.2.3