[MacPorts] #63402: ccache @ 4.4_0 error: static_assert failed "unique_ptr constructed with null function pointer deleter"
MacPorts
noreply at macports.org
Tue Aug 24 10:07:03 UTC 2021
#63402: ccache @ 4.4_0 error: static_assert failed "unique_ptr constructed with
null function pointer deleter"
---------------------------------+------------------------
Reporter: thetrial | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: elcapitan legacy-os | Port: ccache
---------------------------------+------------------------
{{{
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:2579:13:
error: static_assert failed "unique_ptr constructed with null function
pointer deleter"
:info:build static_assert(!is_pointer<deleter_type>::value,
:info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:2393:38:
note: in instantiation of member function
'std::__1::unique_ptr<redisReply, void (*)(void *)>::unique_ptr' requested
here
:info:build : public integral_constant<bool, __is_constructible(_Tp,
_Args...)>
:info:build ^
:info:build
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:2697:14:
note: in instantiation of template class
'std::__1::is_constructible<std::__1::unique_ptr<redisReply, void (*)(void
*)>>' requested here
:info:build : public is_constructible<_Tp>
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.4/src/third_party/nonstd/expected.hpp:1351:14:
note: in instantiation of template class
'std::__1::is_default_constructible<std::__1::unique_ptr<redisReply, void
(*)(void *)> >' requested here
:info:build std::is_default_constructible<T>::value
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ccache/ccache/work/ccache-4.4/src/storage/secondary/RedisStorage.cpp:158:22:
note: in instantiation of template class
'nonstd::expected_lite::expected<std::__1::unique_ptr<redisReply, void
(*)(void *)>, storage::secondary::SecondaryStorage::Backend::Failure>'
requested here
:info:build const auto reply = redis_command("GET %s",
key_string.c_str());
:info:build ^
:info:build 1 error generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63402>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list