Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion stl/inc/yvals_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,9 @@ compiler option, or define _ALLOW_RTCc_IN_STL to suppress this error.
#define _STL_INTERNAL_STATIC_ASSERT(...)
#endif // ^^^ !defined(_ENABLE_STL_INTERNAL_CHECK) ^^^

#ifdef __CUDACC__ // TRANSITION, CUDA 12.4 doesn't have downlevel support for static call operators
#if defined(__CUDACC__) || (defined(__clang__) && __clang_major__ < 16)
// TRANSITION, CUDA 12.4 doesn't have downlevel support for static call operators.
// TRANSITION, VSO-2397560, temporary workaround for Real World Code relying on ancient Clang versions.
#define _STATIC_CALL_OPERATOR
#define _CONST_CALL_OPERATOR const
#define _STATIC_LAMBDA
Expand Down