Guys please remove me from the mailing list, I have been trying for many
days now! Please do it.

On Wed, May 20, 2015 at 3:00 PM, Kornel Benko <kor...@lyx.org> wrote:

> All of sudden I get this error:
>
> [ 75%] Building CXX object src/CMakeFiles/lyx2.2.dir/CutAndPaste.cpp.o
> cd /usr/BUILD/BuildLyxGitQt5/src && /usr/bin/c++
>  -DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1 -DQT_CONCURRENT_LIB -DQT_CORE_LIB
> -DQT_GUI_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -Wall -Wunused-parameter
> --std=gnu++11 -fno-strict-aliasing  -Wall -Wunused-parameter --std=gnu++11
> -fno-strict-aliasing -O0 -g3 -D_DEBUG -fPIE -I/usr/BUILD/BuildLyxGitQt5
> -I/usr/src/lyx/lyx-git/src -I/usr/include/enchant
> -I/usr/src/lyx/lyx-git/boost -I/usr/BUILD/BuildLyxGitQt5/src -isystem
> /usr/BUILD/BuildQt5/5.4/gcc_64/include -isystem
> /usr/BUILD/BuildQt5/5.4/gcc_64/include/QtCore -isystem
> /usr/BUILD/BuildQt5/5.4/gcc_64/mkspecs/linux-g++ -isystem
> /usr/BUILD/BuildQt5/5.4/gcc_64/include/QtGui -isystem
> /usr/BUILD/BuildQt5/5.4/gcc_64/include/QtWidgets -isystem
> /usr/BUILD/BuildQt5/5.4/gcc_64/include/QtConcurrent -isystem
> /usr/BUILD/BuildQt5/5.4/gcc_64/include/QtSvg
> -DBOOST_USER_CONFIG="<config.h>" -o CMakeFiles/lyx2.2.dir/CutAndPaste.cpp.o
> -c /usr/src/lyx/lyx-git/src/CutAndPaste.cpp
> /usr/src/lyx/lyx-git/src/CutAndPaste.cpp: In function
> ‘lyx::{anonymous}::PasteReturnValue
> lyx::{anonymous}::pasteSelectionHelper(const lyx::DocIterator&, const
> lyx::ParagraphList&, lyx::DocumentClassConstPtr, lyx::Buffer*,
> lyx::ErrorList&)’:
> /usr/src/lyx/lyx-git/src/CutAndPaste.cpp:390:37: error: call of overloaded
> ‘next(lyx::RandomAccessList<lyx::Paragraph>::iterator, lyx::pit_type&)’ is
> ambiguous
>    pars.insert(next(pars.begin(), pit),
>                                      ^
> /usr/src/lyx/lyx-git/src/CutAndPaste.cpp:390:37: note: candidates are:
> In file included from /usr/src/lyx/lyx-git/src/CutAndPaste.cpp:63:0:
> /usr/src/lyx/lyx-git/src/support/lyxalgo.h:92:11: note: It lyx::next(It,
> Diff) [with It = std::_List_iterator<lyx::Paragraph>; Diff = long int]
>  inline It next(It i, Diff n = 1)
>            ^
> In file included from /usr/include/c++/4.8/bits/stl_algobase.h:66:0,
>                  from /usr/include/c++/4.8/memory:62,
>                  from
> /usr/src/lyx/lyx-git/boost/boost/config/no_tr1/memory.hpp:21,
>                  from
> /usr/src/lyx/lyx-git/boost/boost/smart_ptr/shared_ptr.hpp:23,
>                  from /usr/src/lyx/lyx-git/boost/boost/shared_ptr.hpp:17,
>                  from /usr/src/lyx/lyx-git/src/support/shared_ptr.h:22,
>                  from /usr/src/lyx/lyx-git/src/DocumentClassPtr.h:15,
>                  from /usr/src/lyx/lyx-git/src/CutAndPaste.h:17,
>                  from /usr/src/lyx/lyx-git/src/CutAndPaste.cpp:16:
> /usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:184:5: note:
> _ForwardIterator std::next(_ForwardIterator, typename
> std::iterator_traits<_Iter>::difference_type) [with _ForwardIterator =
> std::_List_iterator<lyx::Paragraph>; typename
> std::iterator_traits<_Iter>::difference_type = long int]
>      next(_ForwardIterator __x, typename
> ...
>
>         Kornel




-- 
Mayank Jha
http://mjnovice.wordpress.com/

Reply via email to