metarutaiga

Results 3 comments of metarutaiga

> > add_compile_options( -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS ) > > https://libcxx.llvm.org/docs/UsingLibcxx.html#libc-configuration-macros > > > This macro is used to disable all visibility annotations inside libc++. Defining this macro **and then building libc++ with...

teststl.cpp ``` #include #include __attribute__((visibility("default"))) std::string foo() { return "Hello, World!"; } __attribute__((visibility("default"))) std::vector bar() { return {1}; } __attribute__((visibility("default"))) void add_string(std::string& value) { value += "Hello, World!"; } __attribute__((visibility("default")))...

> I can't make sense of why your fix actually changes anything: > > ``` > _LIBCPP_BEGIN_NAMESPACE_STD > template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS __basic_string_common; > template class _LIBCPP_CLASS_TEMPLATE_INSTANTIATION_VIS basic_string; > template class...