[MacPorts] #58996: mkvtoolnix @30.1.0_1: compilation errors
MacPorts
noreply at macports.org
Mon Sep 9 14:32:16 UTC 2019
#58996: mkvtoolnix @30.1.0_1: compilation errors
-------------------------+------------------------
Reporter: MaddTheSane | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: | Port: mkvtoolnix
-------------------------+------------------------
When compiling mkvtoolnix, I run into an issue when compiling some files:
{{{
:info:build In file included from
src/common/xml/ebml_tags_converter.cpp:19:
:info:build In file included from src/common/strings/formatting.h:21:
:info:build src/common/strings/editing.h:32:10: fatal error: no viable
conversion from returned value of type 'const
std::__1::basic_string<char>' to function return type
'std::vector<std::string>' (aka 'vector<basic_string<char,
char_traits<char>, allocator<char> > >')
:info:build return split(text, boost::regex("\\Q"s + pattern,
boost::regex::perl), max);
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:551:5:
note: candidate constructor not viable: no known conversion from 'const
std::__1::basic_string<char>' to 'const
std::__1::vector<std::__1::basic_string<char>,
std::__1::allocator<std::__1::basic_string<char> > > &' for 1st argument
:info:build vector(const vector& __x);
:info:build ^
:info:build
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:558:5:
note: candidate constructor not viable: no known conversion from 'const
std::__1::basic_string<char>' to
'initializer_list<std::__1::vector<std::__1::basic_string<char>,
std::__1::allocator<std::__1::basic_string<char> > >::value_type>' (aka
'initializer_list<std::__1::basic_string<char> >') for 1st argument
:info:build vector(initializer_list<value_type> __il);
:info:build ^
:info:build
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/vector:564:5:
note: candidate constructor not viable: no known conversion from 'const
std::__1::basic_string<char>' to
'std::__1::vector<std::__1::basic_string<char>,
std::__1::allocator<std::__1::basic_string<char> > > &&' for 1st argument
:info:build vector(vector&& __x)
:info:build ^
:info:build
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:869:5:
note: candidate function
:info:build operator __self_view() const _NOEXCEPT { return
__self_view(data(), size()); }
:info:build ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58996>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list