[libcxx-commits] [libcxx] [libc++] Guard explicit ABI annotations for Clang >= 21 (PR #212249)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 27 06:52:43 PDT 2026


philnik777 wrote:

> But similar checks are already in the code base and they were not removed when upgrading version support

That's simply an oversight.

> , and a similar fix was already added for GCC.

because we we actually support a GCC version which doesn't provide `#pragma clang attribute`.

> The minimum version check is also a #warning, not a #error.

So? Are warnings supposed to be ignored now?


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


More information about the libcxx-commits mailing list