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

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 22 07:11:00 PST 2024


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

[similar issue](https://github.com/llvm/llvm-project/issues/91831)
I use the same way to fix this issue.

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


More information about the libcxx-commits mailing list