Date: Sun, 20 Oct 2019 19:01:18 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 241205] devel/replxx: Update to 0.0.2 Message-ID: <bug-241205-7788-vltQvq1W1F@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-241205-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-241205-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241205 --- Comment #5 from Raphael Kubo da Costa <rakuco@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:1= 2: 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 'con= st 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:4= 9: 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' declar= ed 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:4= 6: 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' decla= red here void set_highlighter_callback( highlighter_callback_t const& fn ); ^ 3 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241205-7788-vltQvq1W1F>