[libcxx-commits] [libcxx] [libc++] Fix failure with GCC 15 (#117319) (PR #117322)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 22 06:53:34 PST 2024


================
@@ -25,7 +25,7 @@
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
-#if __has_builtin(__decay)
+#if __has_builtin(__decay) && !defined(_LIBCPP_COMPILER_GCC)
----------------
ldionne wrote:

How is the GCC-provided builtin incompatible with Clang's?

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


More information about the libcxx-commits mailing list