Skip to content

Commit 675ab54

Browse files
committed
constexpr exception support is busted, disable it for now
1 parent 6d7ad68 commit 675ab54

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

include/stdexec/__detail/__config.hpp

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -711,16 +711,19 @@ namespace STDEXEC
711711
# define STDEXEC_NO_STDCPP_EXCEPTIONS() (__EXCEPTIONS == 0)
712712
#endif
713713

714-
#if defined(__cpp_constexpr_exceptions) && __cpp_constexpr_exceptions >= 202411L
715-
# if !STDEXEC_NO_STDCPP_EXCEPTIONS()
716-
// https://wg21.link/p3068
717-
# define STDEXEC_NO_STDCPP_CONSTEXPR_EXCEPTIONS() 0
718-
# else
719-
# define STDEXEC_NO_STDCPP_CONSTEXPR_EXCEPTIONS() 1
720-
# endif
721-
#else
722-
# define STDEXEC_NO_STDCPP_CONSTEXPR_EXCEPTIONS() 1
723-
#endif
714+
// BUGBUG fix support for constexpr exceptions
715+
#define STDEXEC_NO_STDCPP_CONSTEXPR_EXCEPTIONS() 1
716+
717+
// #if defined(__cpp_constexpr_exceptions) && __cpp_constexpr_exceptions >= 202411L
718+
// # if !STDEXEC_NO_STDCPP_EXCEPTIONS()
719+
// // https://wg21.link/p3068
720+
// # define STDEXEC_NO_STDCPP_CONSTEXPR_EXCEPTIONS() 0
721+
// # else
722+
// # define STDEXEC_NO_STDCPP_CONSTEXPR_EXCEPTIONS() 1
723+
// # endif
724+
// #else
725+
// # define STDEXEC_NO_STDCPP_CONSTEXPR_EXCEPTIONS() 1
726+
// #endif
724727

725728
// We need to treat host and device separately
726729
#if STDEXEC_CUDA_COMPILATION() && defined(__CUDA_ARCH__) && !STDEXEC_NVHPC()

0 commit comments

Comments
 (0)