[libcxx-commits] [libcxx] [libc++] Only push/pop diagnostics for ABI annotations pragmas if not in a system header (PR #200338)

Alexey Samsonov via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 9 23:11:29 PDT 2026


vonosmas wrote:

> @vonosmas The library build should always set `_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER`, which then enables diagnostic pushing/popping. I assume you have some custom build for libc++?

Right, thank you for pointing this out!

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


More information about the libcxx-commits mailing list