diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1618cec0c5..c7f779a37d 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: @@ -252,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}} 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& )