[libcxx-commits] [libcxx] [libc++] Enable availability based on the compiler instead of __has_extension (PR #84065)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 5 13:29:00 PST 2024
philnik777 wrote:
> That means that as it stands, libc++ is not compatible at all with `-pedantic-errors`, since it uses a good number of compiler extensions (and really there’s no way it could go without using compiler extensions).
It's not that `-pedantic-errors` disables extensions, it disables `__has_extension` properly reporting extensions.
https://github.com/llvm/llvm-project/pull/84065
More information about the libcxx-commits
mailing list