Hi Kornel,

The (French) error message below says that it is ambiguous whether sub.position(0) has an integer of cher const * argument. I am not sure how to fix it.

JMarc

Z:\Jean-Marc\lyx\src\lyxfind.cpp(1350): error C2668: 'boost::match_results<std::_String_const_iterator<std::_String_val<std ::_Simple_types<char>>>,std::allocator<_Ty>>::position' : appel ambigu à une fonction surchargée [Z:\Jean-Marc\build\src\Ly
X.vcxproj]
          with
          [

_Ty=boost::sub_match<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>
          ]

Z:\Jean-Marc\lyx\3rdparty\boost\boost/regex/v4/match_results.hpp(166): note: est peut-être 'int boost::match_results<std:

:_String_const_iterator<std::_String_val<std::_Simple_types<char>>>,std::allocator<_Ty>>::position(const char *) const'
          with
          [

_Ty=boost::sub_match<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>
] (compilation du fichier source Z:\Jean-Marc\lyx\src\lyxfind.cpp)

Z:\Jean-Marc\lyx\3rdparty\boost\boost/regex/v4/match_results.hpp(151): note: ou 'int boost::match_results<std::_Str

ing_const_iterator<std::_String_val<std::_Simple_types<char>>>,std::allocator<_Ty>>::position(unsigned int) const'
          with
          [

_Ty=boost::sub_match<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>
] (compilation du fichier source Z:\Jean-Marc\lyx\src\lyxfind.cpp) Z:\Jean-Marc\lyx\src\lyxfind.cpp(1350): note: lors de la tentative de mise en correspondance de la liste des arguments '(
  int)'

Reply via email to