[libcxx-commits] [libcxx] [libc++] Port The OpenBSD localization to the new locale API (PR #194317)

Brad Smith via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 27 14:05:58 PDT 2026


brad0 wrote:

```
In file included from /home/brad/tmp/llvm-philnik/libcxx/src/memory.cpp:20:
In file included from /home/brad/tmp/llvm-philnik/builddir/include/c++/v1/thread:97:
In file included from /home/brad/tmp/llvm-philnik/builddir/include/c++/v1/__thread/thread.h:19:
In file included from /home/brad/tmp/llvm-philnik/builddir/include/c++/v1/__locale:17:
In file included from /home/brad/tmp/llvm-philnik/builddir/include/c++/v1/__locale_dir/locale_base_api.h:131:
/home/brad/tmp/llvm-philnik/builddir/include/c++/v1/__locale_dir/locale_base_api/ibm.h:71:8: error: cannot add 'abi_tag' attribute in a redeclaration
   71 | inline _LIBCPP_HIDE_FROM_ABI
      |        ^
/home/brad/tmp/llvm-philnik/builddir/include/c++/v1/__configuration/attributes.h:211:20: note: expanded from macro '_LIBCPP_HIDE_FROM_ABI'
  211 |     __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE))))
      |                    ^
/usr/include/stdio.h:267:6: note: previous declaration is here
  267 | int      vasprintf(char ** __restrict, const char * __restrict, __va_list)
      |          ^
1 error generated.
```

https://github.com/llvm/llvm-project/pull/194317


More information about the libcxx-commits mailing list