[libcxx-commits] [libcxx] [libc++][RFC] Always define internal feature test macros (PR #89178)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 18 13:47:51 PDT 2024


philnik777 wrote:

> > > _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS
> 
> GCC does not implement the availability attribute (yet) I've been working on it - but it won't be in GCC-14 - so this would potentially affect GCC on Apple platforms.
> 
> > > _LIBCPP_HAS_NO_INT128
> 
> No 32b targets left?

Availability annotations are disabled automatically on non-Clang compilers and __int128 availability is also detected through `__SIZEOF_INT128__`. There should be no need to set them explicitly.

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


More information about the libcxx-commits mailing list