[libcxx-commits] [clang] [libcxx] [libc++] Rename `__` prefix to `__libcpp_` for locale related functions (PR #119241)

Zibi Sarbinowski via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 28 08:02:50 PST 2025


zibi2 wrote:

Louis, are you still in position of not accepting the rename proposal in this PR? 

I was able to resolve the `__locale_t`  name collision with a wrapper, but unfortunately, as Sean pointed out, we cannot undefine other macros conflicting with the inline functions in `libc++`. If we cannot use the `__libcpp_`  prefix anymore, what is the recommended way of resolving name collisions? When the use of the `__libcpp_` prefix was discouraged, was there any alternative for resolving name collisions with the underlying system C library?

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


More information about the libcxx-commits mailing list