[libcxx-commits] [libcxx] [libc++] Protect the libc++ implementation from CUDA SDK's `__noinline__` macro (PR #73838)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 29 10:40:26 PST 2023


================
@@ -158,5 +158,8 @@
 #define erase SYSTEM_RESERVED_NAME
 #define refresh SYSTEM_RESERVED_NAME
 
+// Macros from the CUDA SDKs
+#define __noinline__ __attribute__((noinline))
----------------
EricWF wrote:

I believe we want to make this macro be defined as SYSTEM_RESERVED_NAME to prove we're not actually using it.

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


More information about the libcxx-commits mailing list