Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update HAVE comments, remove gcc from execution policy. #1597

Merged
merged 1 commit into from
Jan 28, 2025
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
16 changes: 12 additions & 4 deletions include/bitcoin/system/have.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
#define HAVE_VECTOR_CONSTEXPR
// Ubuntu clang version 15.0.7
#else
////#define HAVE_RANGES (N/A)
////#define HAVE_RANGES (v16)
////#define HAVE_CONSTEVAL (v17)
#define HAVE_STRING_CONSTEXPR
#define HAVE_VECTOR_CONSTEXPR
Expand All @@ -216,9 +216,17 @@
#endif
#endif

/// No std::execution on clang (C++17).
#if defined(HAVE_CPP17) && !defined(HAVE_CLANG)
#define HAVE_EXECUTION
/// C++20: parenthesized initialization of aggregates requires clang16/xcode16.
/// We don't have macro treatment for that, just ad-hoc conditions.

/// None on xcode.
/// Requires link with -ltbb on gcc (v9).
/// Experimental on clang (libcxx.llvm.org/Status/PSTL.html), requires:
/// -fexperimental-library
#if defined(HAVE_CPP17)
#if defined(HAVE_MSC)
#define HAVE_EXECUTION
#endif
#endif

/// These are manually configured here.
Expand Down
Loading