Build breaks with boost 1.58
Building in Ubuntu 16.04 Xenial with boost 1.58 breaks the build with the following error:
In file included from /usr/include/boost/filesystem.hpp:16:0,
from ../../src/utils.hpp:42,
from ../../src/utils.cpp:43:
/usr/include/boost/filesystem/path.hpp: In instantiation of 'boost::filesystem::path& boost::filesystem::path::append(InputIterator, InputIterator) [with InputIterator = boost::filesystem::path::iterator]':
../../src/utils.cpp:245:29: required from here
/usr/include/boost/filesystem/path.hpp:744:25: error: no matching function for call to 'convert(const boost::filesystem::path*, const boost::filesystem::path*, boost::filesystem::path::string_type&)'
path_traits::convert(seq.c_str(), seq.c_str()+seq.size(), m_pathname);
^
In file included from /usr/include/boost/filesystem/path.hpp:25:0,
from /usr/include/boost/filesystem.hpp:16,
from ../../src/utils.hpp:42,
from ../../src/utils.cpp:43:
/usr/include/boost/filesystem/path_traits.hpp:98:10: note: candidate: void boost::filesystem::path_traits::convert(const char*, const char*, std::__cxx11::wstring&, const codecvt_type&)
void convert(const char* from,
^
/usr/include/boost/filesystem/path_traits.hpp:98:10: note: candidate expects 4 arguments, 3 provided
/usr/include/boost/filesystem/path_traits.hpp:104:10: note: candidate: void boost::filesystem::path_traits::convert(const wchar_t*, const wchar_t*, std::__cxx11::string&, const codecvt_type&)
void convert(const wchar_t* from,
^
/usr/include/boost/filesystem/path_traits.hpp:104:10: note: candidate expects 4 arguments, 3 provided
/usr/include/boost/filesystem/path_traits.hpp:110:10: note: candidate: void boost::filesystem::path_traits::convert(const char*, std::__cxx11::wstring&, const codecvt_type&)
void convert(const char* from,
^
/usr/include/boost/filesystem/path_traits.hpp:110:10: note: no known conversion for argument 1 from 'const boost::filesystem::path*' to 'const char*'
/usr/include/boost/filesystem/path_traits.hpp:119:10: note: candidate: void boost::filesystem::path_traits::convert(const wchar_t*, std::__cxx11::string&, const codecvt_type&)
void convert(const wchar_t* from,
^
/usr/include/boost/filesystem/path_traits.hpp:119:10: note: no known conversion for argument 1 from 'const boost::filesystem::path*' to 'const wchar_t*'
In file included from /usr/include/boost/filesystem.hpp:16:0,
from ../../src/utils.hpp:42,
from ../../src/utils.cpp:43:
/usr/include/boost/filesystem/path.hpp:833:10: note: candidate: void boost::filesystem::path_traits::convert(const char*, const char*, std::__cxx11::wstring&)
void convert(const char* from,
^
/usr/include/boost/filesystem/path.hpp:833:10: note: no known conversion for argument 1 from 'const boost::filesystem::path*' to 'const char*'
/usr/include/boost/filesystem/path.hpp:841:10: note: candidate: void boost::filesystem::path_traits::convert(const wchar_t*, const wchar_t*, std::__cxx11::string&)
void convert(const wchar_t* from,
^
/usr/include/boost/filesystem/path.hpp:841:10: note: no known conversion for argument 1 from 'const boost::filesystem::path*' to 'const wchar_t*'
/usr/include/boost/filesystem/path.hpp:849:10: note: candidate: void boost::filesystem::path_traits::convert(const char*, std::__cxx11::wstring&)
void convert(const char* from,
^
/usr/include/boost/filesystem/path.hpp:849:10: note: candidate expects 2 arguments, 3 provided
/usr/include/boost/filesystem/path.hpp:857:10: note: candidate: void boost::filesystem::path_traits::convert(const wchar_t*, std::__cxx11::string&)
void convert(const wchar_t* from,
^
/usr/include/boost/filesystem/path.hpp:857:10: note: candidate expects 2 arguments, 3 provided
In file included from /usr/include/boost/filesystem/path.hpp:25:0,
from /usr/include/boost/filesystem.hpp:16,
from ../../src/utils.hpp:42,
from ../../src/utils.cpp:43:
/usr/include/boost/filesystem/path_traits.hpp:152:10: note: candidate: void boost::filesystem::path_traits::convert(const char*, const char*, std::__cxx11::string&, const codecvt_type&)
void convert(const char* from, const char* from_end, std::string & to,
^
/usr/include/boost/filesystem/path_traits.hpp:152:10: note: candidate expects 4 arguments, 3 provided
/usr/include/boost/filesystem/path_traits.hpp:161:10: note: candidate: void boost::filesystem::path_traits::convert(const char*, std::__cxx11::string&, const codecvt_type&)
void convert(const char* from,
^
/usr/include/boost/filesystem/path_traits.hpp:161:10: note: no known conversion for argument 1 from 'const boost::filesystem::path*' to 'const char*'
/usr/include/boost/filesystem/path_traits.hpp:172:10: note: candidate: void boost::filesystem::path_traits::convert(const wchar_t*, const wchar_t*, std::__cxx11::wstring&, const codecvt_type&)
void convert(const wchar_t* from, const wchar_t* from_end, std::wstring & to,
^
/usr/include/boost/filesystem/path_traits.hpp:172:10: note: candidate expects 4 arguments, 3 provided
/usr/include/boost/filesystem/path_traits.hpp:181:10: note: candidate: void boost::filesystem::path_traits::convert(const wchar_t*, std::__cxx11::wstring&, const codecvt_type&)
void convert(const wchar_t* from,
^
/usr/include/boost/filesystem/path_traits.hpp:181:10: note: no known conversion for argument 1 from 'const boost::filesystem::path*' to 'const wchar_t*'
/usr/include/boost/filesystem/path_traits.hpp:192:10: note: candidate: void boost::filesystem::path_traits::convert(const char*, const char*, std::__cxx11::string&)
void convert(const char* from, const char* from_end, std::string & to)
^
/usr/include/boost/filesystem/path_traits.hpp:192:10: note: no known conversion for argument 1 from 'const boost::filesystem::path*' to 'const char*'
/usr/include/boost/filesystem/path_traits.hpp:200:10: note: candidate: void boost::filesystem::path_traits::convert(const char*, std::__cxx11::string&)
void convert(const char* from, std::string & to)
^
/usr/include/boost/filesystem/path_traits.hpp:200:10: note: candidate expects 2 arguments, 3 provided
/usr/include/boost/filesystem/path_traits.hpp:209:10: note: candidate: void boost::filesystem::path_traits::convert(const wchar_t*, const wchar_t*, std::__cxx11::wstring&)
void convert(const wchar_t* from, const wchar_t* from_end, std::wstring & to)
^
/usr/include/boost/filesystem/path_traits.hpp:209:10: note: no known conversion for argument 1 from 'const boost::filesystem::path*' to 'const wchar_t*'
/usr/include/boost/filesystem/path_traits.hpp:217:10: note: candidate: void boost::filesystem::path_traits::convert(const wchar_t*, std::__cxx11::wstring&)
void convert(const wchar_t* from, std::wstring & to)
^
/usr/include/boost/filesystem/path_traits.hpp:217:10: note: candidate expects 2 arguments, 3 provided
Makefile:1257: recipe for target 'liburd_aux_la-utils.lo' failed