[libcxx-commits] [libcxx] [libc++] Add visibility annotations to the std namespace with GCC (PR #133233)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 2 07:43:14 PDT 2025
================
@@ -60,6 +60,10 @@ Improvements and New Features
- Updated formatting library to Unicode 16.0.0.
+- When using GCC, the ``std`` namespace is now annotated with ``[[gnu::visibility("default")]]``. This may cause changes
+ in the symbols exported from shared libraries when building with ``-fvisibility=hidden``. This also fixes RTTI
----------------
ldionne wrote:
```suggestion
- When using GCC, the ``std`` namespace is now annotated with ``[[gnu::visibility("default")]]``. This may cause more
symbols to be exported from shared libraries when building with ``-fvisibility=hidden``. This also fixes RTTI
```
https://github.com/llvm/llvm-project/pull/133233
More information about the libcxx-commits
mailing list