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

Reply via email to