Am Donnerstag, 25. Oktober 2018 07:24:38 CEST schrieb Daniel <xraco...@gmx.de>: > On 24/10/2018 23:29, Kornel Benko wrote: > > Am Mittwoch, 24. Oktober 2018 20:08:23 CEST schrieb Daniel > > <xraco...@gmx.de>: > >> ambiguous call to overloaded function LyX (applications\LyX\LyX) > >> C:\Users\Daniel\LyXSource\lyx\src\lyxfind.cpp 1251 > >> Error C2668 > >> 'boost::match_results<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Ty>>>,std::allocator<boost::sub_match<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Ty>>>>>>::position' > > > > I am seeing only this declarations in boost for match_results: > > > > difference_type position(unsigned int sub = 0) const; > > difference_type position(const char_type* sub) const; > > difference_type position(const charT* sub) const; > > difference_type position(const std::basic_string<charT, Traits, A>& > > sub) const; > > > > Since we need the first one, could you try to substitute the calls in > > lyxfind.cpp > > sub.position(0) > > with > > sub.position(size_t(0)) > > > > please? > > > > Kornel > > > > Should I try those as well now that I don't get errors anymore? Changing > the CMake settings seems to be less of a hussle than changing the sources. > > Daniel >
Normally it is the other way which we prefer. But in this case ... we are waiting for a long time to remove boost completely, but for instance because MSVC could not use std::regex, we was bound. Yes, change to CMakeLists.txt is preferable. Kornel
signature.asc
Description: This is a digitally signed message part.