[Bug 241205] devel/replxx: Update to 0.0.2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Oct 20 19:01:19 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241205
--- Comment #5 from Raphael Kubo da Costa <rakuco at FreeBSD.org> ---
Hi Yuri. The port still breaks after the update to 0.4-333:
/wrkdirs/usr/ports/math/curv/work/curv-0.4-333-ga9a63930/curv/repl.cc:147:12:
error: no viable conversion from returned value of type 'vector<std::string>'
to function return type 'vector<replxx::Replxx::Complet
ion>'
return names->completions(context.substr(index));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/vector:558:5: note: candidate constructor not viable: no
known conversion from 'std::vector<std::string>' (aka
'vector<basic_string<char, char_traits<char>, allocator<char> > >') to 'const
st
d::__1::vector<replxx::Replxx::Completion,
std::__1::allocator<replxx::Replxx::Completion> > &' for 1st argument
vector(const vector& __x);
^
/usr/include/c++/v1/vector:565:5: note: candidate constructor not viable: no
known conversion from 'std::vector<std::string>' (aka
'vector<basic_string<char, char_traits<char>, allocator<char> > >') to
'initiali
zer_list<std::__1::vector<replxx::Replxx::Completion,
std::__1::allocator<replxx::Replxx::Completion> >::value_type>' (aka
'initializer_list<replxx::Replxx::Completion>') for 1st argument
vector(initializer_list<value_type> __il);
^
/usr/include/c++/v1/vector:571:5: note: candidate constructor not viable: no
known conversion from 'std::vector<std::string>' (aka
'vector<basic_string<char, char_traits<char>, allocator<char> > >') to
'std::__1
::vector<replxx::Replxx::Completion,
std::__1::allocator<replxx::Replxx::Completion> > &&' for 1st argument
vector(vector&& __x)
^
/wrkdirs/usr/ports/math/curv/work/curv-0.4-333-ga9a63930/curv/repl.cc:329:49:
error: too many arguments to function call, expected single argument 'fn', have
2 arguments
rx.set_completion_callback(get_completions, static_cast<void*>(&names));
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/replxx.hxx:348:2: note: 'set_completion_callback' declared
here
void set_completion_callback( completion_callback_t const& fn );
^
/wrkdirs/usr/ports/math/curv/work/curv-0.4-333-ga9a63930/curv/repl.cc:330:46:
error: too many arguments to function call, expected single argument 'fn', have
2 arguments
rx.set_highlighter_callback(color_input, static_cast<void*>(sys));
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/replxx.hxx:354:2: note: 'set_highlighter_callback' declared
here
void set_highlighter_callback( highlighter_callback_t const& fn );
^
3 errors generated.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list