[libcxx-commits] [libcxx] [libc++][Android] Always redirect <stdatomic.h> to <atomic> (PR #143036)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 12 16:22:46 PDT 2025


pirama-arumuga-nainar wrote:

> Have you folks looked into removing that historical extension on the Android side? If that's something Android would be open to, I could suggest the following:

As a historic note, P0943 stemmed from our attempt to standardize the Android-specific extension.

I agree with enh about not breaking our users.  Moreover, spending effort to fix Android codebase for the pre-C++-23 mode, while it is expected to work in C++23 and later, doesn't seem like a valuable use of resources.  Upgrading to C++23 is the viable strategy here.  We can foresee updating Android platform (and vendors) to C++-23 in the next 1-2 years, but breaking app developers is something we want to avoid.

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


More information about the libcxx-commits mailing list