Open
Description
I think 0242ad9 broke NVIDIA/stdexec for at least gcc-15 and gcc-trunk (https://godbolt.org/z/9ez66G7vv).
it checks __has_feature(__cpp_lib_execution)
, but in libstdc++ is a macro defined at https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bits/version.h#L672.
should perhaps guard with
#if defined(__cpp_lib_execution)
# define STDEXEC_HAS_EXECUTION_POLICY() 0
#elif __has_feature(__cpp_lib_execution)
# define STDEXEC_HAS_EXECUTION_POLICY() 1
#else
# define STDEXEC_HAS_EXECUTION_POLICY() 0
#endif
Metadata
Metadata
Assignees
Labels
No labels