[libcxx-commits] [libcxx] [libc++] Remove a few __has_foo defines in __config (PR #90511)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 1 08:54:31 PDT 2024
================
@@ -334,26 +334,6 @@ _LIBCPP_HARDENING_MODE_DEBUG
# define _LIBCPP_CXX03_LANG
# endif
-# ifndef __has_attribute
-# define __has_attribute(__x) 0
-# endif
-
-# ifndef __has_builtin
-# define __has_builtin(__x) 0
-# endif
-
-# ifndef __has_extension
-# define __has_extension(__x) 0
-# endif
-
-# ifndef __has_feature
-# define __has_feature(__x) 0
-# endif
----------------
philnik777 wrote:
These aren't available in GCC until 14.
https://github.com/llvm/llvm-project/pull/90511
More information about the libcxx-commits
mailing list