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

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 22 06:56:13 PST 2024


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

GCC doesn't mangle the builtin.

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


More information about the libcxx-commits mailing list