From 037d1945bee3b62562cf07178534bca01ac4a9fa Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Mon, 21 Oct 2024 12:24:29 -0700 Subject: [PATCH] fix some build warnings --- include/exec/system_context.hpp | 1 - test/stdexec/queries/test_forwarding_queries.cpp | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/exec/system_context.hpp b/include/exec/system_context.hpp index 6804cd8a3..bb0658719 100644 --- a/include/exec/system_context.hpp +++ b/include/exec/system_context.hpp @@ -364,7 +364,6 @@ namespace exec { __bulk_state_base(_Fn&& __fun, _Rcvr&& __rcvr) : __fun_{std::move(__fun)} , __rcvr_{std::move(__rcvr)} { - static_assert(offsetof(__bulk_state_base, __forward_args_helper_) == 0); } }; diff --git a/test/stdexec/queries/test_forwarding_queries.cpp b/test/stdexec/queries/test_forwarding_queries.cpp index f872e8ce5..eb5eb5593 100644 --- a/test/stdexec/queries/test_forwarding_queries.cpp +++ b/test/stdexec/queries/test_forwarding_queries.cpp @@ -15,6 +15,8 @@ #include #include +STDEXEC_PRAGMA_IGNORE_GNU("-Wdeprecated-declarations") + namespace ex = stdexec; namespace {