From dce17f6b619b3197c251ff2917e4c6a57b2ae272 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Mon, 8 Jul 2024 10:47:44 -0400 Subject: [PATCH 1/3] Fix unused variable warnings --- include/boost/test/utils/named_params.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/test/utils/named_params.hpp b/include/boost/test/utils/named_params.hpp index d568be4f53..ceabd60341 100644 --- a/include/boost/test/utils/named_params.hpp +++ b/include/boost/test/utils/named_params.hpp @@ -131,11 +131,11 @@ struct nil { #else operator T const&() const #endif - { nfp_detail::report_access_to_invalid_parameter(true); static T* v = 0; BOOST_TEST_UNREACHABLE_RETURN(*v); } + { nfp_detail::report_access_to_invalid_parameter(true); BOOST_TEST_UNREACHABLE_RETURN(*static_cast(0)); } template T any_cast() const - { nfp_detail::report_access_to_invalid_parameter(true); static typename remove_reference::type* v = 0; BOOST_TEST_UNREACHABLE_RETURN(*v); } + { nfp_detail::report_access_to_invalid_parameter(true); BOOST_TEST_UNREACHABLE_RETURN(*static_cast::type*>(0)); } template nil operator()( Arg1 const& ) From a4b479114bc39c98920ee22172e562ed7b7b8bc4 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Mon, 8 Jul 2024 10:48:23 -0400 Subject: [PATCH 2/3] Fix use of node20 --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1618cec0c5..ad97136fea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ env: GIT_FETCH_JOBS: 8 NET_RETRY_COUNT: 5 DEFAULT_BUILD_VARIANT: release + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: posix: From 86b5f97c1737b56da48c1a310a0e1e68f6806233 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Mon, 8 Jul 2024 11:12:02 -0400 Subject: [PATCH 3/3] Update macos versions --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad97136fea..c7f779a37d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -253,10 +253,13 @@ jobs: - toolset: clang cxxstd: "11,14" - os: macos-11 + os: macos-12 - toolset: clang cxxstd: "20" - os: macos-12 + os: macos-13 + - toolset: clang + cxxstd: "20" + os: macos-14 runs-on: ${{matrix.os}} container: ${{matrix.container}}