Package: src:ssh-agent-filter Version: 0.4-2 Severity: serious Tags: sid stretch
g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -c -o ssh-agent-filter.o ssh-agent-filter.C ssh-agent-filter.C: In function 'void setup_filters()': ssh-agent-filter.C:276:46: error: call of overloaded 'move(rfc4251string&)' is ambiguous if (allow) allowed_pubkeys.emplace(move(key)); ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/string:40, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from ssh-agent-filter.C:22: /usr/include/c++/5/bits/move.h:101:5: note: candidate: constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&) [with _Tp = rfc4251string&; typename std::remove_reference< <template-parameter-1-1> >::type = rfc4251string] move(_Tp&& __t) noexcept ^ In file included from /usr/include/boost/function/function_template.hpp:32:0, from /usr/include/boost/function/detail/maybe_include.hpp:18, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from ssh-agent-filter.C:22: /usr/include/boost/move/utility_core.hpp:191:77: note: candidate: typename boost::move_detail::remove_reference<T>::type&& boost::move(T&&) [with T = rfc4251string&; typename boost::move_detail::remove_reference<T>::type = rfc4251string] inline typename ::boost::move_detail::remove_reference<T>::type && move(T&& t) BOOST_NOEXCEPT ^ ssh-agent-filter.C:297:51: error: call of overloaded 'move(rfc4251string&)' is ambiguous if (confirm) confirmed_pubkeys.emplace(move(key), move(comm)); ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/string:40, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from ssh-agent-filter.C:22: /usr/include/c++/5/bits/move.h:101:5: note: candidate: constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&) [with _Tp = rfc4251string&; typename std::remove_reference< <template-parameter-1-1> >::type = rfc4251string] move(_Tp&& __t) noexcept ^ In file included from /usr/include/boost/function/function_template.hpp:32:0, from /usr/include/boost/function/detail/maybe_include.hpp:18, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from ssh-agent-filter.C:22: /usr/include/boost/move/utility_core.hpp:191:77: note: candidate: typename boost::move_detail::remove_reference<T>::type&& boost::move(T&&) [with T = rfc4251string&; typename boost::move_detail::remove_reference<T>::type = rfc4251string] inline typename ::boost::move_detail::remove_reference<T>::type && move(T&& t) BOOST_NOEXCEPT ^ ssh-agent-filter.C: In function 'rfc4251string handle_request(const rfc4251string&)': ssh-agent-filter.C:425:33: error: call of overloaded 'move(rfc4251string&)' is ambiguous keys.emplace_back(move(key), move(comment)); ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/string:40, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from ssh-agent-filter.C:22: /usr/include/c++/5/bits/move.h:101:5: note: candidate: constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&) [with _Tp = rfc4251string&; typename std::remove_reference< <template-parameter-1-1> >::type = rfc4251string] move(_Tp&& __t) noexcept ^ In file included from /usr/include/boost/function/function_template.hpp:32:0, from /usr/include/boost/function/detail/maybe_include.hpp:18, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from ssh-agent-filter.C:22: /usr/include/boost/move/utility_core.hpp:191:77: note: candidate: typename boost::move_detail::remove_reference<T>::type&& boost::move(T&&) [with T = rfc4251string&; typename boost::move_detail::remove_reference<T>::type = rfc4251string] inline typename ::boost::move_detail::remove_reference<T>::type && move(T&& t) BOOST_NOEXCEPT ^ ssh-agent-filter.C:425:48: error: call of overloaded 'move(rfc4251string&)' is ambiguous keys.emplace_back(move(key), move(comment)); ^ In file included from /usr/include/c++/5/bits/stl_pair.h:59:0, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/string:40, from /usr/include/boost/program_options/errors.hpp:12, from /usr/include/boost/program_options/options_description.hpp:12, from /usr/include/boost/program_options.hpp:15, from ssh-agent-filter.C:22: /usr/include/c++/5/bits/move.h:101:5: note: candidate: constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&) [with _Tp = rfc4251string&; typename std::remove_reference< <template-parameter-1-1> >::type = rfc4251string] move(_Tp&& __t) noexcept ^ In file included from /usr/include/boost/function/function_template.hpp:32:0, from /usr/include/boost/function/detail/maybe_include.hpp:18, from /usr/include/boost/function/function1.hpp:11, from /usr/include/boost/program_options/value_semantic.hpp:13, from /usr/include/boost/program_options/options_description.hpp:13, from /usr/include/boost/program_options.hpp:15, from ssh-agent-filter.C:22: /usr/include/boost/move/utility_core.hpp:191:77: note: candidate: typename boost::move_detail::remove_reference<T>::type&& boost::move(T&&) [with T = rfc4251string&; typename boost::move_detail::remove_reference<T>::type = rfc4251string] inline typename ::boost::move_detail::remove_reference<T>::type && move(T&& t) BOOST_NOEXCEPT ^ ssh-agent-filter.C: In function 'int main(int, const char* const*)': ssh-agent-filter.C:540:13: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ make[1]: *** [ssh-agent-filter.o] Error 1